Alex-D / Trumbowyg

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

Fullscreen Button causes error in Firefox when trumbowyg is diabled #359

Closed Yogi66 closed 8 years ago

Yogi66 commented 8 years ago

Hi there, I run into an issue that the Firefox (38.0.1) throws an error if I click on the "fullscreen" button in the editor when I set the editor to disabled ( $('#wysiwyg').trumbowyg('disable'); )

The error message is: NS_ERROR_FAILURE:
t.doc.execCommand('styleWithCSS', false, forceCss || false); trumbowyg.js (line 1196)

This error only occurs if the editor is disabled and only in Firefox. IE works fine and also in the "enabled" state Firefox is fine. (I use version 2.1.2 of trumbowyg)

Am I unique with this issue or might this be a bug ?

Juergen

Alex-D commented 8 years ago

Which version of Trumbowyg? Latest?

Yogi66 commented 8 years ago

According to package.json it is version 2.1.2...

Am 11.08.2016 um 17:08 schrieb Alexandre Demode:

Which version of Trumbowyg ? latest ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Alex-D/Trumbowyg/issues/359#issuecomment-239190424, or mute the thread https://github.com/notifications/unsubscribe-auth/AG5Fan6PV-llU5Ty2PVw8GipHbVcVm8Rks5qezrsgaJpZM4JiFlV.

Alex-D commented 8 years ago

Sorry, I just see you have say it in your OP ^^'

Thanks! I will check that asap.