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

Version 1 Next »

캐럿이 위치한 문단에 다단계 글머리를 설정합니다.

문단을 셀렉션한 경우 셀렉션한 모든 문단에 다단계 글머리를 설정합니다.


Parameters:

NameTypeDescription
actionNameString액션 이름
styleString
  • 'none': 리스트 제거
  • 'multi_1': 1. 1.1 1.1.1 형식의 들여쓰기된 다단계 글머리
  • 'multi_2': 1. 1.1 1.1.1 형식의 들여쓰기 되지 않은 다단계 글머리
  • 'multi_3': 1 1-1 1-1-1 형식의 들여쓰기 되지 않은 다단계 글머리


Example:

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