Uncaught [CKEDITOR.editor] The instance "content1" already exists.
来源:互联网 发布:淘宝仓库绩效考核方案 编辑:程序博客网 时间:2024/05/22 02:00
关于:
Uncaught [CKEDITOR.editor] The instance "content1" already exists.
在引用ckeditor时出现这样的js报错,网上哪些所谓的先判断再销毁的方式逻辑上是没有问题的,但是我想说的是问题的本质并不在这里,这样做是对ckeditor产品的误解。
真正的问题很多人都出在替换textarea的同时,又给textarea添加ckeditor的class属性,而且调用的是它的默认的class,这就造成了重复,所以才会包content1已经存在这样的错误。
所以只要去掉class就OK啦!
0 0
- Uncaught [CKEDITOR.editor] The instance "content1" already exists.
- uncaught exception: [CKEDITOR.editor] The instance “xxxx” already exists
- uncaught exception: [CKEDITOR.editor] The instance “xxxx” already exists
- ckeditor出现 uncaught exception: [CKEDITOR.editor] The instance "simple_editor" already exists.
- The vervice already exists!-mysql安装服务
- The service already exists!-mysql安装服务
- The service already exists(mysql启动)
- Integrate the CKEditor as html editor into iOS application
- ArcGIS Server Instance name on port 80 already exists Please choose another 解决办法
- the file is already open in an editor 解决方法
- the file is already open in an editor 解决方法 .
- There is a chart instance already initialized on the dom
- Another unnamed CacheManager already exists in the same VM
- Another unnamed CacheManager already exists in the same VM.解决方法
- A project with that name already exists in the workspace
- Another unnamed CacheManager already exists in the same VM
- The service already exists!关于mysql 以zip安装解决
- Another unnamed CacheManager already exists in the same VM.解决方法
- boost使用(六)
- XMPP高级编程---使用Jquery和Javascript学习笔记
- PHP中::、->、self、$this操作符的区别
- linux遇到的问题汇总记录
- 英雄会编程挑战之回文数
- Uncaught [CKEDITOR.editor] The instance "content1" already exists.
- 1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- 8 个免费实用的 C++ GUI 库
- XHTML 1.0的四种DTD声明
- 如何调出快捷设置断点的左边栏
- error: couldn't connect to server 127.0.0.1:27017 src/mongo/shell/mongo.js
- ContentType ,charset和pageEncoding的区别
- Linux下制作RPM软件包
- 【珍藏】JAVA EE 热门精品资源集(88个)