mindmup / bootstrap-wysiwyg

Tiny bootstrap-compatible WISWYG rich text editor
MIT License
5.56k stars 844 forks source link

Hotkey Dependency Breaks Editor #177

Open examinedliving opened 9 years ago

examinedliving commented 9 years ago

I had no intention of making the hotkeys available, so I didn't include the hotkey script. However, when I went to use the text editor, I was unable to enter text, and everything I did type seemed to be triggering a shortcut related to the toolbar btns (in other words, they would flicker or something like that - like they were being pressed). This issue seems to be the same as #171 - but the problem also existed for me in Firefox.

When - using $.off - I unbound keyboard events, it worked flawlessly. I can unbind automatically on $.fn.load, but that seems counterproductive. Is there a simple way to make this functionality optional by argument?

examinedliving commented 9 years ago

I solved my own issue. I commented out the bindHotkeys function call in the source. However, this is probably not the preferred way.

altmind commented 9 years ago

Related #175