ckeditor / ckeditor4

The best enterprise-grade WYSIWYG editor. Fully customizable with countless features and plugins.
https://ckeditor.com/ckeditor-4
Other
5.79k stars 2.48k forks source link

Emit event on any style change #5461

Open Daveyvdweide opened 1 year ago

Daveyvdweide commented 1 year ago

Type of report

Feature request

Provide description of the new feature

There are currently three events that relate to changes within the editor:

change change is called whenever data is updated within the editor. Be it text or a style attribute.

selectionChange selectionChange is called whenever text is selected and or updated.

afterCommandExec afterCommandExec is called whenever an command is executed. This could be an list insertion or making text bold using the buttons. This event is not triggered whenever the font is changed.

What I am looking for, is a event that combines the change and afterCommandExec events. You should be able to catch any style change in an event, without it being triggered when typing text.

Example

Should be triggered when you:

Should not be triggered when you