How to add title attribute at CKEditor images

无人久伴 提交于 2019-12-01 13:01:09

You got to define config.extraAllowedContent = 'img[title]' if you want title attribute to be accepted into editor contents (see: official guide).

I have ultimate solution for this issue..

1) Open this file: ckeditor\plugins\image2\plugin.js At the line number 343 (in my case) add below code title: this.data.alt just below "alt: this.data.alt," and enjoy..

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!