監(jiān)聽鼠標(biāo)聚焦事件:
UE.getEditor('content').addListener('focus',function(editor){
//相關(guān)操作
});
監(jiān)聽內(nèi)容改變事件
UE.getEditor('content').addListener('contentChange',function(editor){
//相關(guān)操作
});
注:其中content代表你的富文本編輯器的id值