P
P
Pavel2015-04-06 09:55:46
CKEditor
Pavel, 2015-04-06 09:55:46

How to determine button state in ckeditor?

I created my own custom plug-in for the Ckeditor editor, which wraps the selected text in a tag on the click of a button (the tag is not important). How everything works, but I don’t understand how to determine the state of this button now, so that when you click it again, this tag will be deleted. An example of how it works now is here

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question