新版ckeditor取消了内容自动同步到textarea的功能,
提交前需手动同步,若不手动同步提交时textarea中的内容为空
手动同步代码
for ( instance in CKEDITOR.instances ) { CKEDITOR.instances[instance].updateElement(); }
jethai 博主文章分类:J2EE/CSS/JQuery ©著作权
文章标签 ckeditor手动同步textarea 文章分类 Java 后端开发
新版ckeditor取消了内容自动同步到textarea的功能,
提交前需手动同步,若不手动同步提交时textarea中的内容为空
手动同步代码
for ( instance in CKEDITOR.instances ) { CKEDITOR.instances[instance].updateElement(); }
上一篇:nginx反向代理入门
下一篇:ckeditor换kama皮肤
mysql 主从同步配置
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M