Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

캐럿이 위치한 곳에서 <br>을 삽입합니다.

...

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:

Code Block
languagejs
themeEmacs
editor.execCommand('insertLineBreak');

...