mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-05 04:19:07 +08:00
210 B
210 B
newlineInCode
newlineInCode
inserts a new line in the current code block. If a selection is set, the selection will be replaced with a newline character.
Usage
editor.commands.newlineInCode()