Decrase the font size of the selected text by a level.
In caret status, the font size of the text to be entered is decreased.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'decreaseFontSize' decrease font size by a level API |
Example:
editor.execCommand('decreaseFontSize');