简体   繁体   English

如何禁用ckeditor cloudservices

[英]How to disable ckeditor cloudservices

I'm working on a Drupal site that just updated its ckeditor library from 4.5.x to 4.9.2. 我正在一个Drupal网站上工作,该网站刚刚将其ckeditor库从4.5.x更新到了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." 在我们的其中一台服务器上,图像按钮突然停止出现,并且发现错误“错误代码:cloudservices-no-token-url”。 in the browser javascript console when I load any page with ckeditor. 当我使用ckeditor加载任何页面时,在浏览器Javascript控制台中。

I'm hoping I can disable cloudservices to resolve the error. 我希望我可以禁用cloudservices来解决该错误。 I tried using config.removePlugins = 'easyimage'; 我尝试使用config.removePlugins ='easyimage'; in config.js. 在config.js中。 Are there other addons that use cloudservices I need to disable? 是否还有其他我需要禁用的使用cloudservices的插件?

The simplest way to get rid of EasyImage is not downloading it in the first place. 摆脱EasyImage的最简单方法不是首先下载它。

Please go to CKEditor download page and download the package you are interested in but without EasyImage (don't check EasyImage checkbox). 请转到CKEditor下载页面并下载您感兴趣但没有EasyImage的软件包(不要选中EasyImage复选框)。

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. 请转到构建器页面,选择所需的预定义预设和插件之一,但不包括EasyImage插件。 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). 如果您将CKEditor与CKFinder或其他自定义文件管理器或上传器一起使用,则需要包括文件浏览器插件(默认情况下在完全和标准预设中可用)。

You should remove the plugin. 您应该删除插件。

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

};

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM