Empower your AI to directly edit documents in real time. Now production ready.
Read moreTiptap AI Toolkit - Empower your AI to directly edit documents in real time. | Product Hunt

newlineInCode command

newlineInCode inserts a new line in the current code block. If a selection is set, the selection will be replaced with a newline character.

Use the newlineInCode command

editor.commands.newlineInCode()