Page tree
Skip to end of metadata
Go to start of metadata

Insert <br> at the caret position.

When there is a selection, the selected block is deleted and <br> is inserted.


Parameters:

NameTypeDescription
actionNameString'insertLineBreak' line break API


Example:

editor.execCommand('insertLineBreak');
  • No labels