mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-06 19:38:08 +08:00
212 B
212 B
exitCode
The exitCode
command will create a default block after the current selection if the selection is a code
element and move the cursor to the new block.
Usage
editor.commands.exitCode()