Skip to content

Update: CKEditor Build

indigoxela edited this page Aug 21, 2024 · 2 revisions

How to update the custom CKEditor build we use for Backdrop CMS

CAUTION: this documentation is outdated. With CKEditor 5 we're using npm instead.

  1. Visit http://ckeditor.com/builder.
  2. Upload the core/misc/ckeditor/build-config.js file to the site, indicating the plugins that are desired.
  3. Save/expand the downloaded archive.
  4. Remove the following files/directories from the expanded archive
    • README.md,
    • adapters,
    • config.js,
    • contents.css,
    • samples,
    • skins/moono-lisa/readme.md,
    • styles.js,
  5. Copy the new files into core/misc/ckeditor/*.
  6. Double check that the build-config.js file retains 2 sections of code that are specific to Backdrop:
    • Docblock at the very top of the file
    • Around line 60, list of files that need to be removed from the build
  7. Update the define('CKEDITOR_VERSION', 'x.y.z'); line in core/modules/ckeditor/ckeditor.module to reflect the new CKEditor version.