Skip to content
Advertisement

Angular CKEditor 5 add custom class on button click

I am trying to add class to selected element (table in this case) when clicking button on element toolbar.

JavaScript

Can not add custom attributes. How can I add class or dataset attribute?

Advertisement

Answer

The solution I found:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement