editorjs-text-color-plugin icon indicating copy to clipboard operation
editorjs-text-color-plugin copied to clipboard

Add ability to toggle applied colors

Open benlammers opened this issue 2 years ago • 2 comments

Current Behaviour

For text color once color is applied you can change the color to another color provided by the tool but you can not remove the applied styles to let the text inherit the CSS color property again.

Similar for the marker once a background is applied there is no way to fully remove it, current solution is often to set the background to white or whatever the parent element's background is.

Desired Behaviour

Allow ability to toggle these styles by clicking their icon on the toolbar to allow the text to return to their default styles. Similar to how the default Bold inline tool works

benlammers avatar Sep 13 '22 16:09 benlammers

Great suggestion! I took a look at the Bold inline tool, and found this feature is good to have. It will be added in the next version of the plugin. Thanks!

flaming-cl avatar Sep 26 '22 21:09 flaming-cl

Awesome! Thanks so much!

benlammers avatar Sep 27 '22 12:09 benlammers

@benlammers this feature is supported in the latest version of this plugin.

flaming-cl avatar Jan 21 '23 01:01 flaming-cl