clearInlineStyles
To remove the whole applied inline styles from the current selection you can
use the clearInlineStyles function.
Usage #
The clearInlineStyles utility will clear the inline styles from your selection.
Checkout the customization section if you are using custom inline
styles.
Example #
An example of clearInlineStyles usage:
Customization #
The clearInlineStyles will only remove the default provided styles key like BOLD,
ITALIC and UNDERLINE. If you have used more inline styles in your editor you have to
pass your customStyleMap constant to the utility as the third argument.