I am adding an autocomplete function to the CKEditor 3.6 text input dialog box. The problem is that it is not possible to select a value from the list with the ENTER key, because it closes the dialog box, and all the ENTER key events stop from bubbling dom. I see that in _source / plugins / dialog / plugin.js:
// ESC, ENTER var preventKeyBubblingKeys = { 27 :1, 13 :1 }; var preventKeyBubbling = function( e ) { if ( e.data.getKeystroke() in preventKeyBubblingKeys ) e.data.stopPropagation(); };
Is there a way to override this behavior without changing the source code? Any other ideas are also welcome!
ridmi source share