Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
CKEditor creates a fake editor with all plugins on text format config page but it doesn't load the required libraries which are returned by getLibraries() method.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2682851-4.patch | 1.64 KB | thpoul |
#4 | interdiff-2682851-2-4.txt | 2.08 KB | thpoul |
#3 | 2682851-3.patch | 629 bytes | ufku |
#2 | 2682851-2.patch | 1.44 KB | Wim Leers |
Comments
Comment #2
Wim LeersGood catch. Quick patch. Completely untested.
Comment #3
ufku CreditAttribution: ufku commentedI got "Call to undefined method Drupal\ckeditor\Plugin\Editor\CKEditor::getDefinitions()" error.
Using "$this->getLibraries($fake_editor)" works though.
Comment #4
thpoul CreditAttribution: thpoul at Pixual commentedOptimized working version based on #2
Comment #5
Wim LeersComment #17
quietone CreditAttribution: quietone at PreviousNext commentedCKEditor has been removed from core, CKEditor 4 is removed from Drupal Core in 10.0.0