Deprecated drupal_get_path Couldn't CKEditor to display in the text config page in Drupal 10

Created on 25 February 2023, over 1 year ago
Updated 5 July 2023, over 1 year ago

Couldn't CKEditor to display in the text config page on Drupal 10

I kept getting this error "rror: Call to undefined function Drupal\ckeditor_accordion\Plugin\CKEditorPlugin\drupal_get_path() in Drupal\ckeditor_accordion\Plugin\CKEditorPlugin\CKEditorAccordion->getButtons() (line 45 of /home/public_html/web/modules/contrib/ckeditor_accordion/src/Plugin/CKEditorPlugin/CKEditorAccordion.php)."

So the problem here is there is still obsolete code in ckeditor. I fixed the code manually to get it to work in the screenshot attached

The reason i still need ckeditor 4 is because ckeditor in core doesn't support the beautiful plugins i like using like fontawesome and bootstrap grid

πŸ› Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¬Uganda Thomas Kaisuka

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024