캐럿이 위치한 문단에 인용문구를 설정합니다.
...
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:
Name | Type | Description |
---|---|---|
actionName | String액션 이름 | 'increaseQuote' quotation setting API |
properties | Object | { id: {String}, class: {String}, style: {Object} } 설정할 속성 |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
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 |