最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to disable ckeditor cloudservices - Stack Overflow

programmeradmin1浏览0评论

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?

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?

Share Improve this question asked May 11, 2018 at 22:04 PurcellPurcell 1191 silver badge4 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 4

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).

You should remove the plugin.

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

};
发布评论

评论列表(0)

  1. 暂无评论