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

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:

editor.execCommand('insertDiv');



  • No labels