开发者

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜