ckeditor4 icon indicating copy to clipboard operation
ckeditor4 copied to clipboard

Emit event on any style change

Open Daveyvdweide opened this issue 1 year ago • 0 comments

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:

  • Change font-size
  • Switch background colours
  • Remove or add text style attributes like bold, italic, etc.

Should not be triggered when you

  • Write text
  • Add an image
  • Remove text

Daveyvdweide avatar Apr 18 '23 08:04 Daveyvdweide