Skip to main content

Reset Node


Allows you to reset the block type based on certain rules.

In the following example, you can press Enter in an empty block quote or Backspace at the start of a block so it resets to a paragraph.

Live Editor
SyntaxError: Unexpected token (1:8)
1 : return ()