LogoLogo
9.0.x
9.0.x
  • Overview
    • About Varbase
    • Roadmap
    • Release Cycle and Supported Versions
    • How to Get Support
  • Developers
    • Getting Started
    • Installing Varbase
      • Requirements
      • Installing Varbase with DDEV
      • Installing Varbase with Lando
    • Understanding Varbase
      • Basic Concepts
      • Core Components
        • Varbase Core
          • Varbase Admin
          • Varbase Page
          • Varbase Security
          • Varbase Webform
          • Varbase Default Content
          • Varbase Tour
        • Varbase Media
        • Varbase Editor
        • Varbase Email
        • Varbase SEO
        • Varbase Workflow
        • Varbase Layout Builder
          • Varbase Landing page (Layout Builder)
          • Varbase Heading Block
          • Varbase Rich Text Block
          • Varbase HTML Code Block
          • Varbase Media (Image/Video) Block
          • Varbase Gallery Block
        • Varbase Total Control Dashboard
        • Vartheme Claro
        • Vartheme BS4
      • Optional Components
        • Varbase API
        • Varbase Internationalization
        • Varbase Media Hero Slider
        • Varbase Carousels
        • Varbase Blog
        • Varbase Search
        • Varbase Social Single Sign-On
        • Varbase Media Twitter
        • Varbase Media Instagram
        • Varbase Content Planner
        • Varbase Bootstrap Paragraphs
          • Varbase Bootstrap Paragraphs Text and Image
        • Varbase Landing Page (Paragraphs)
      • Additional Components
        • Varbase Media Header
        • Varbase FAQs
        • Varbase Reports
        • Varbase Commerce
        • Varbase YouTube Import
      • Development Components
        • Varbase Development
        • Varbase Style Guide
        • Reroute Email
        • Varbase Updates Helper
    • Configuring a Varbase Site
      • Navigation
        • Defining Active Menu Trail Using Menu Position
      • Using View Modes Inventory
      • Content Moderation and Workflows
      • URL Aliases in Varbase/Drupal
        • Configuring URL Aliases
        • Managing URL Aliases
      • Managing URL Patterns for Multilingual Websites
      • Managing Date and Time Formats to Display Across the Site
      • Using Varbase Layout Builder
        • Creating a Landing Page With Varbase Layout Builder
        • Activating Varbase Layout Builder for Content Types
      • Configuring Pathologic When Going Live
      • Configuring SEO Features
        • Disallow Oembed Media Links
      • Configuring Security Features
        • Spam Protection
        • Password Policies
        • Other Security Kits
        • Flood Contorl
        • Enable HTTP Password Authentication
      • Configuring JSON:API Features
      • Configure Varbase Media Hero Slider
      • Configuring Varbase Media Header
      • Configuring Varbase Mailer Settings
        • Configure Symfony Mailer
        • Configure Swift Mailer
        • Switch From Swift Mailer to Symfony Mailer
      • Entity Definition Update Manager Class
      • Module Installer Factory Class
    • Theme Development with Varbase
      • Understanding The Vartheme Base Theme
      • Creating Your Own Theme
      • Local Tasks and Moderation Sidebar
      • Add Preloaded Fonts in Vartheme
      • Switch From Node SASS to Dart SASS for Old Sub-Themes
    • Launching a Varbase Site to Production
    • Updating a Varbase Site
      • Understanding Varbase Updater Package
      • Handling Patches When Updating
      • Handling Configuration Updates
      • Updating Varbase to work with Composer 2.0
      • Updating Drush to the Latest Stable Version
      • Version Update Guides
        • Updating Varbase ~9.0 to Drupal 10
        • Switch from CKEditor 4 to CKEditor 5 in Varbase ~9.1.0
        • Updating from Varbase 8.x to 9.x
    • Varbase Patches
    • Frequently Asked Questions (FAQs)
    • Extending Varbase
      • Overriding Varbase
      • Creating Your Own Feature
      • Creating A Sub Profile From Varbase
        • Varbase Sub Profile Generator
        • Varbase Sub Profile Basic Template
        • Varbase Sub Profile Basic Project Template
      • Install Needed YARN and Gulp Tools
      • Compiling Provided Component Styles
      • Check Standards/Practice Coding And Linting
  • Content Designers
    • Terminology
    • Accessing the Administration Area
      • Website Environments
    • User Management
      • Allow Email/Username Login & Registration
      • Default Roles and Site Personas
        • Edit Roles' Permissions
        • Managing Roles
      • Add User
      • Edit User
      • Masquerading as another user
    • Dashboard
      • Reports
    • Content Structure
      • EntityQueues
      • Menu Management
        • Add Menu Items
        • Update Menu Items
        • Adding a Page to the Menu
      • Taxonomies
        • Manage Vocabulary
        • Edit Vocabulary
        • List Terms
        • Add Terms
        • Reorder and Edit Terms
      • Webforms
        • Setting up Emails Handler Conditions
        • Setting up Confirmations Message Settings Types
    • Content Management
      • Create Content
        • Add a Basic page
        • Add a Landing page
        • Add Blog
        • Add Media
          • Image
          • Remote video
          • Video
      • Modify Content
      • Delete Content
      • Preview Content
      • Bulk Edit Content
      • Content Moderation
      • Publish Content
      • URL Alias
    • About Layout Builder
      • Section
      • Custom Blocks
        • Heading Block
        • Basic Block
        • Media Block(Image/Video)
        • Rich-Text Editor “WYSIWYG”
      • Managing Blocks
    • Search Engine Optimization
      • XML Sitemap
      • Meta Tags in Varbase
      • URL Redirects
      • Domain Redirects
      • Prevent a Single Content From Being Indexed
    • Site Configuration
      • System
        • Clearing Varbase Cache
        • Google analytics
        • Mail templates
      • User interface
      • Development
      • Varbase settings
      • Web services
    • Common Error Handling Tips
  • Contributing
    • Contributing to Documentation
Powered by GitBook
On this page
  • Follow With Steps to Update Varbase to ~9.1.0 With Drupal 10
  • Complete the Update to Drupal 10 with CKEditor 4
  • Uninstall no Longer CKEditor 5 Supported Modules
  • Uninstall CKEditor Past Filter
  • Uninstall Image Resize Filter
  • Add the Following Under Installer Patches
  • Add the Following Under Drupal Libraries
  • Enabled the CKEditor 5 Module
  • Switch Varbase Editor from ~9.1.0 to ~9.2.0
  • Enable the CKEditor 5 Paste Filter Module
  • Switch Rich Editor Text Format to CKEditor 5
  • Switch Simple Editor Text Format to CKEditor 5
  • Disable the CKEditor 4 Module
  • Remove All Not Supported CKEditor 5 Plugins and Modules
  • Known Issues When Switching to CKEditor 5
  • CKEditor 5 Stylesheets
  1. Developers
  2. Updating a Varbase Site
  3. Version Update Guides

Switch from CKEditor 4 to CKEditor 5 in Varbase ~9.1.0

PreviousUpdating Varbase ~9.0 to Drupal 10NextUpdating from Varbase 8.x to 9.x

Last updated 10 months ago

Project not supported: This project is no longer supported, and is no longer available for download. Disabling everything included by this project is strongly recommended!

Follow With Steps to Update Varbase to ~9.1.0 With Drupal 10

Default Varbase 9.1.x is using Varbase Editor 9.2.x with CKEditor 5

Complete the Update to Drupal 10 with CKEditor 4

Use "Vardot/varbase-patches": "~9.1.0" in the root composer.json file.

with Varbase ~9.1.0 CKEditor 4 and Drupal 10

To keep using CKEditor 4 you need the following in the root composer.json file

"vardot/varbase-patches": "~9.1.0"

"drupal/varbase_editor": "~9.1.0"

Uninstall no Longer CKEditor 5 Supported Modules

Uninstall CKEditor Past Filter

./bin/drush pm:uninstall ckeditor_paste_filter

Uninstall Image Resize Filter

No support for CKEditor 5. No plan for that.

Remove the "Image Resize Filter: Resize images based on their given height and width attributes" check in Rich editor, and Simple Editor, then uninstall it

Disable this plugin inside the Simple editor and Rich editor before uninstalling the module to avoid issue: image_resize_filter: Provides a filter plugin that is in use in the following filter formats: Simple editor, Rich editor

./bin/drush pm:uninstall image_resize_filter

Add the Following Under Installer Patches

In the root composer.json file for the project
"installer-paths": {
"docroot/libraries/ace": ["npm-asset/ace-builds"],
"docroot/libraries/ckeditor5-anchor-drupal": ["npm-asset/northernco--ckeditor5-anchor-drupal"],
"docroot/libraries/ckeditor5/plugins/media-embed": ["npm-asset/ckeditor--ckeditor5-media-embed"],

Add the Following Under Drupal Libraries

In the root composer.json file for the project
 "drupal-libraries": {
{"name": "ace", "package": "npm-asset/ace-builds"},
{"name": "ckeditor5-anchor-drupal", "package": "npm-asset/northernco--ckeditor5-anchor-drupal"},
{"name": "ckeditor5-media-embed", "package": "npm-asset/ckeditor--ckeditor5-media-embed"}

Enabled the CKEditor 5 Module

./bin/drush en ckeditor5

Switch Varbase Editor from ~9.1.0 to ~9.2.0

Use "Vardot/varbase-patches": "~9.2.0" in the root composer.json file.

with Varbase ~9.1.0 CKEditor 5 and Drupal 10

Make sure to have the following in your system:

"vardot/varbase-patches": "~9.2.0"

"drupal/varbase_editor": "~9.2.0"

Enable the CKEditor 5 Paste Filter Module

./bin/drush en ckeditor5_paste_filter

Filter content pasted into the CKEditor 5 visual editor by searching and replacing with the power of regular expressions.

Switch Rich Editor Text Format to CKEditor 5

  • Navigate to "/admin/config/content/formats/manage/full_html"

  • Select "CKEditor 5" from "Text editor" dropdown.

  • Follow up with the needed changes then save configuration

Switch Simple Editor Text Format to CKEditor 5

  • Navigate to "/admin/config/content/formats/manage/basic_html"

  • Select "CKEditor 5" from "Text editor" dropdown.

  • Follow up with the needed changes then save configuration

Disable the CKEditor 4 Module

At Some point you will need to remove drupal/ckeditor module from the project, and make sure that it is no longer installed.

./bin/drush pm:uninstall ckeditor

Remove All Not Supported CKEditor 5 Plugins and Modules

In case of having extra CKEditor plugins, further than the ones in Varbase Editor, follow with each plugin command button, action, filter. With the new update version

This will for sure, manage to have the full switch from CKEditor 4 to CKEditor 5

Known Issues When Switching to CKEditor 5

CKEditor 5 Stylesheets

Manage the stylesheets for the editor in project's sub theme

ckeditor5_stylesheets: false

✅ Released

Issue : Started a new 9.2.x branch for Varbase Editor to support CKEditor 5 and drop support for CKEditor 4

This module is for CKEditor 4 only. For CKEditor 5 need to use

This is a CKEditor 5 version of with additional features, most notably that the filters are fully configurable via a form interface and the filters can be configured individually for each text format. This module has been created as a separate project so that sites that are transitioning over to CKEditor 5 can have both modules installed easily, and to allow this project to evolve without needing to maintain compatibility with both CKEditor 4 and 5.

Issue : Changed ckeditor5-stylesheets to false in Vartheme BS5 not to load with the admin theme

Updating Varbase ~9.0 to Drupal 10
varbase_editor-9.2.0
#3442752
CKEditor 5 Paste Filter
CKEditor Paste Filter
#3346060
CKEditor 4 - WYSIWYG HTML editor
Not Supported Message in Old Sites, Which Still Using CKEditor 4