Adding Event to YUI Rich Text Editor
Is it possible to add an event to the YUI rich text editor. I am trying to attach a kepress event to the开发者_StackOverflow YUI rich text editor module for drupal and am using jquery but am having no luck.
According to the API docs, this is possible, and from the look of it, even very conveniently. See here for the documentation front page.
Editor HTML Event Mapping
* beforeEditorMouseUp * editorMouseUp * beforeEditorMouseDown * editorMouseDown * beforeEditorClick * editorClick * beforeEditorDoubleClick * editorDoubleClick * beforeEditorKeyUp * editorKeyUp * beforeEditorKeyPress * editorKeyPress * beforeEditorKeyDown * editorKeyDown
精彩评论