文章标签 ‘ckeditor’

CKEDITOR.on( ‘dialogDefinition’, function( ev ) {         // Take the dialog name and its definition from the event         // data.         var dialogName = ev.data.name;         var dialogDefinition = ev.data.definition;         // Check if the definition is from the dialog we’re         // interested on (the "Link" dialog).         if ( dialogName == ‘link’ [...]

2010年6月2日11:05 | 没有评论
分类: 前端页面
标签:

使用循环遍历所有的CKEDITOR for( instance in CKEDITOR.instances) {       var editor = instance;       if(editor)      {          alert(editor.name);      } }   指定ID的editor获取焦点 CKEDITOR.instances[“content”].focus(); 还可以使用其它方法获取ID实例 CKEDITOR.instances.editor1 CKEDITOR.instances[editor1]

2010年5月25日10:13 | 没有评论
分类: 前端页面
标签: