Intercept CKEditor keystroke -


can intercept keystroke in ckeditor (the tab key) , replace default behavior? want tab key insert div margin.

this.editorinstance.on( 'tab', function(evt){      evt.editor.inserthtml('span style="margin-left: 40px;">&nbsp;</span>');      evt.cancel();     return false; }) 

Comments

Popular posts from this blog

php - How to build a web site which gives a sub-domain dynamically to every registered user? -

Delphi Wmi Query on a Remote Machine -