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 Current »

캐럿이 위치한 문단에 인용문구를 설정합니다.

셀렉션 상태인 경우 셀렉션된 모든 문단에 인용문구를 설정합니다.


Parameters:

NameTypeDescription
actionNameString액션 이름
propertiesObject

{  id: {String}, class: {String}, style: {Object} }

설정할 속성


Example:

editor.execCommand('increaseQuote'); // 인용문구 삽입
editor.execCommand('increaseQuote', { style: { backgroundColor: { r: 255, g: 0, b: 0 } } }); // 배경색이 있는 인용문구 삽입
editor.execCommand('increaseQuote', { className: 'custom-class-name' }); // 클래스를 가진 인용문구 삽입
  • No labels