michaelpapworth / tinymce-knockout-binding

A KnockoutJS custom binding that applies a TinyMCE Editor to the bound HTML element
MIT License
39 stars 19 forks source link

observable is not signalled when only changing formatting of content (bold, italic etc) #15

Open oising opened 9 years ago

oising commented 9 years ago

If I bind to a textarea with your wysiwyg binding and add some text, the save button becomes active as expected. If I then re-edit the content, highlight a word and make it bold (for example), this is not detected: the save button remains disabled.

alexbclarke commented 9 years ago

Just saw your comment because I was having similar issue. In my case changing text format to italics or underline was not triggering change event. Eventually, I resolved it by changing tinyMCE valid_elements values by adding "em" and "span" to the list. Hope this will help you as well.

oising commented 9 years ago

I see... thanks for the tip, Alex!