Paul
unread,May 25, 2011, 12:19:44 PM5/25/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cleditor
I can currently assign a keypress event to the $area, and make the
HTML editor not allow keystrokes... however, I cannot seem to find a
way to disable keypresses for the WYSIWYG editor.
$("textarea.wysiwyg.uneditable").cleditor()[0].
$area.keypress(function() { return false; } );
the above works for the direct HTML editor textarea.
The disable() option will not work here because it wouldn't let me
switch between the HTML and WYSIWYG views, since it disables the
toolbar, too.
Does anyone know how to assign a keypress event to the iframe, or
wherever the iframe input is?