Page tree

Versions Compared

Key

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

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

...

Set the paragraph in which the caret is positioned as quotation.

When there is a selection, the selected paragraphs are set as a quotation.


Parameters:

NameTypeDescription
actionNameString액션 이름'increaseQuote' quotation setting API
propertiesObject

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

설정할 속성


Example:

Code Block
languagejs
themeEmacs
editor.execCommand('increaseQuote'); // 인용문구Insert 삽입quote
editor.execCommand('increaseQuote', { style: { backgroundColor: { r: 255, g: 0, b: 0 } } }); // Insert 배경색이quote 있는with 인용문구background 삽입color
editor.execCommand('increaseQuote', { className: 'custom-class-name' }); // Insert 클래스를quote 가진with 인용문구class 삽입name