Alex-D / Trumbowyg

A lightweight and amazing WYSIWYG JavaScript editor under 10kB
https://alex-d.github.io/Trumbowyg
MIT License
3.99k stars 612 forks source link

Editor is not updating content in Chrome after removing tags #275

Closed ghost closed 8 years ago

ghost commented 8 years ago

Before report an issue, be sure to put these informations. Thanks :)

Informations

Browser + version: Chrome Version 50.0.2661.102 (64-bit) OS: OS X El Capitan Resolution:

How to reproduce the bug?

I wrote a plugin based in preformatted plugin, in fact is very similar. I have to set default data to editor containing tags that can be removed with the custom button, apparently if try to remove the tags with the button all works ok in Chrome Inspector but when I get the editor value ( using $(selector_name).trumbowyg('html') or $(selector_name).val() ) the tags still are there. In Firefox the content is updated correctly.

Alex-D commented 8 years ago

Idk, It's a browser issue I think. I don't have the time to solve it sorry :/