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:
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