Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TinyMCE not capturing spacebar/whitespace keypress

I ran into a strange issue with tinyMCE that i was not able to replicate outside of my complete framework. The whole thing runs only in FireFox, as it supports only FF, therefore the issue is limited to FF.

I use AJAX calls to dynamically load one or multiple instances of tinyMCE.

However, when entering/editing text the spacebar will not work in the text editor. All other keys work, but the spacebar does not. Instead it triggers a page jump in the browser window itself.

This issue only occurs on Windows under FF 12.0

It all works perfectly fine on FF under OSX.

I was unable to find out why this would be happening. Perhaps somebody can give constructive input. Thank You!

like image 328
SquareCat Avatar asked May 24 '26 04:05

SquareCat


1 Answers

This problem is a bug in TinyMCEs input handling and occurs in some cases when TinyMCE is being introduced to a document dynamically.

like image 61
SquareCat Avatar answered May 26 '26 06:05

SquareCat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!