mousetrap icon indicating copy to clipboard operation
mousetrap copied to clipboard

How to use bindGlobal within CKEDITOR?

Open yiukh opened this issue 9 years ago • 1 comments

yiukh avatar Apr 25 '15 02:04 yiukh

Indeed, Mousetrap does not work within CKEditor (version 4 for me).

Neither

Mousetrap.prototype.stopCallback = function() { return false; }

Nor

Mousetrap.bindGlobal()

I guess CKEditor is listening to keybord inputs and preventing default behaviour.

Maybe there's a way to "force" bubbling for keyboard events (with something like this) ?

gabriel-cardoso avatar Jan 16 '19 16:01 gabriel-cardoso