How to disable ckeditor cloudservices

你。 提交于 2019-12-11 17:28:39

问题


I'm working on a Drupal site that just updated its ckeditor library from 4.5.x to 4.9.2. On one of our servers the image button suddenly stopped appearing and I find the error "Error code: cloudservices-no-token-url." in the browser javascript console when I load any page with ckeditor.

I'm hoping I can disable cloudservices to resolve the error. I tried using config.removePlugins = 'easyimage'; in config.js. Are there other addons that use cloudservices I need to disable?


回答1:


The simplest way to get rid of EasyImage is not downloading it in the first place.

Please go to CKEditor download page and download the package you are interested in but without EasyImage (don't check EasyImage checkbox).

Alternatively use can use online builder. Please go to builder page, select one of predefined presets and plugins you like but don't include EasyImage plugin. If you are using CKEditor with CKFinder or some other custom file manager or uploader, you need to include File Browser plugin (available in Full and Standard presets by default).




回答2:


You should remove the plugin.

CKEDITOR.editorConfig = function( config ) {
:
:
:
   config.removePlugins = 'cloudservices';

};


来源:https://stackoverflow.com/questions/50300845/how-to-disable-ckeditor-cloudservices

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