Remove htmlPreview in CKEditor's image plugin

青春壹個敷衍的年華 提交于 2019-12-05 08:51:38

Due to the way that the image dialog is written, you can't easily remove the preview without further adjusting the rest of the file to also remove all its references.

I would suggest you to use my configuration plugin (or write similar code) as described here: http://alfonsoml.blogspot.com.es/2012/04/hide-dialog-fields-in-ckeditor.html

config.hideDialogFields="image:info:htmlPreview";

You can download the plugin from my blog or if you've switched to CKEditor 4, add it to your build: http://ckeditor.com/addon/confighelper

tristones

u can try infoTab.remove( 'htmlPreview' );

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