Page tree

Versions Compared

Key

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

id에 해당하는 문단으로 캐럿을 이동 시킵니다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:

Code Block
languagejs
themeEmacs
editor.execCommand('setCaretById', 'paragraph_id', 0);

...