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

Move the caret to the paragraph that corresponds to ID.


Parameters:

NameTypeDescription
actionNameString'setCaretById' move the caret to the paragraph that corresponds to ID API
idStringparagraph id
offsetNumberparagraph offset


Example:

editor.execCommand('setCaretById', 'paragraph_id', 0);
  • No labels