ueditor百度编辑器焦点或内容变化 触发监听方法

ueditor百度编辑器焦点或内容变化 触发监听方法

UE.getEditor('m2cs').addListener('focus',function(editor){
		UE.getEditor('m2cs').addListener('contentChange',function(editor){
	beifen();//百度自带的监听方法 得到焦点以及内容变化后.会触发
	});
	});

你可能感兴趣的:(css及js相关,编辑器)