-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Emit event on any style change #5461
Copy link
Copy link
Open
Labels
coreThe issue is caused by the editor core code.The issue is caused by the editor core code.status:confirmedAn issue confirmed by the development team.An issue confirmed by the development team.type:featureA feature request.A feature request.
Description
Activity
Metadata
Metadata
Assignees
Labels
coreThe issue is caused by the editor core code.The issue is caused by the editor core code.status:confirmedAn issue confirmed by the development team.An issue confirmed by the development team.type:featureA feature request.A feature request.
Type of report
Feature request
Provide description of the new feature
There are currently three events that relate to changes within the editor:
change
changeis called whenever data is updated within the editor. Be it text or a style attribute.selectionChange
selectionChangeis called whenever text is selected and or updated.afterCommandExec
afterCommandExecis 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
changeandafterCommandExecevents. 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