I'd like to know how to catch a change in the text format, to reset style.
When I change from Heading 1 to Heading 2 in Microsoft Word, my styles is set to follow the rules of that paragraph-style. In CKEditor, if I've used Heading 1, and changed text-size to let's say 14px, then I change to Heading 2, the size is still 14px.
This might be a bug, since the prefered behaviour usually is whatever MS Word does.
I've tried to catch the change-event for the editor, but I can't understand how to detect if the paragraph-style was changed.
I can definitely see people
I can definitely see people complain about the opposite, that changing the size of a heading (to say 14px) doesn't stay at 14px when you switch headings. Anyway, try to attach the listener to the editor and modify styles to see if it's fired. It should fire when applying styles as well. The API is here. You can always propose a new feature request on the dev site.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
I've read alot lately on this
I've read alot lately on this forum and on the reported tickets, and I get the feeling that CKEditor wants to do whatever Microsoft Word does, and in this case it does not.
Sure, people might complain about text size/color changes when the block element is changed, but that's what I expect if I'm used to Microsoft Word.