Page tree

Versions Compared

Key

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

캐럿이 위치한 곳에 블럭 레이어를 삽입합니다.

...

Insert block layer at the caret position.

When there is a selection, the selected block is deleted and the block layer is inserted.


Parameters:

액션 이름
NameTypeDescription
actionNameString'insertDiv' block layer inserting API


Example:

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

...