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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Make the paragraph in which the caret is positioned a multilevel list.

When there is a selection, the selected paragraphs become a multilevel list.


Parameters:

NameTypeDescription
actionNameString'setMultiList' multilevel list API
styleString
  • 'none': 리스트 제거
  • 'multi_1': Indented multilevel bullets in the format '1 1.1 1.1.1'
  • 'multi_2': Indented multilevel bullets in the format '1. 1.1 1.1.1'
  • 'multi_3': Indented multilevel bullets in the format '1 1-1 1-1-1'


Example:

editor.execCommand('setMultiList', 'none');
editor.execCommand('setMultiList', 'multi_1');
editor.execCommand('setMultiList', 'multi_3');
  • No labels