UEditor监听鼠标聚焦事件与内容改变事件

监听鼠标聚焦事件:
UE.getEditor('content').addListener('focus',function(editor){
        //相关操作
});
监听内容改变事件
UE.getEditor('content').addListener('contentChange',function(editor){
        //相关操作
});

注:其中content代表你的富文本编辑器的id值

你可能感兴趣的:(UEditor监听鼠标聚焦事件与内容改变事件)