Closed (fixed)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2012 at 13:12 UTC
Updated:
22 Dec 2012 at 12:45 UTC
Now CKEditor module checking all plugins from profiles and disable all which not exists - check start when u enter to CKEditor configuration page - if any plugin not exists warning is displayed and plugin is disabled automatically.
Greetings
Comments
Comment #1
dczepierga commentedChanges commited to GIT (diff)
Comment #2
vinmassaro commentedThanks for your work on this. My test scenario is:
1. Site running CKEditor module 7.x-1.9 and CKEditor 3 (library)
2. Update to CKEditor module to 7.x-1.x-dev and CKEditor 4 (library)
3. Drush updatedb, drush cc all
4. Edit a page, CKEditor fails to load because of old syntaxhighlight plugin not existing
5. View admin/config/content/ckeditor which disables plugins
6. Edit page, CKEditor loads correctly
I need to perform step 5 programmatically inside ckeditor_update_7005. This is across 20+ sites, and users don't know to visit the CKEditor settings page to disable plugins so that the editor will work again. How can I do this in code? Thanks!
Comment #3
dczepierga commented@vinmassaro, u can add sth like this in the end of update function:
This will call a hook which is called when u disabling any module in Drupal - then CKEditor module scan all available plugins and disable all which cannot be found.
This should help you to update all your sites - remember only to update CKE library v4 before u run
update.phpscript from Drupal.Greetings
Comment #4
mkesicki commented