cu-uis / cu-starterkit-project

Development repository for Pantheon's recommended (future) Drupal 9+ upstream
1 stars 2 forks source link

Evaluate - Using CKEditor 5 before D10 #45

Open kreynen opened 2 years ago

kreynen commented 2 years ago

Describe the options

There is some background information about this at https://gitlab.cu.edu/uis-webdev/online-cu-starterkit/-/issues/264 as well as some demos of the new CKEditor 5 features from DrupalCon available at https://www.youtube.com/watch?v=YwDFCLaQVbY&list=PLpeDXSh4nHjRye9v5rA62RG2Gg6AgwAds

Related issues from CU Online: https://gitlab.cu.edu/uis-webdev/online-cu-starterkit/-/issues/259

johnquest commented 2 years ago

I think we should consider all the possibilities for what CKEditor 5 provides, especially its tools that can affect layout and how they either overlap or not to using paragraph layouts and other means for editing layout not in the editor. Users of Web Express D7 have a long history of enjoying the use of shortcodes to create boxes, columns, columlists, and others without having to create blocks. There's a continuum of options similar to what Alex created for CM generally https://continuum-of-content-management.webflow.io There's a continuum of layout editing that the editor is part of.

meschenbaum commented 2 years ago

Release 9.4.4 is the first step to CK5 and D10: https://www.drupal.org/project/drupal/releases/9.4.4

Previously, plugin settings for all CKEditor plugins were stored in the editor configuration. This included disabled plugins.

To keep the editor configuration in a consistent state, plugin settings are now only stored for CKEditor plugins that are enabled. Stored editor configuration entities will be updated in this release to remove the disabled plugin data.

To ensure CKEditor data is upgraded to CKEditor 5 correctly, sites should update to this release prior to updating to Drupal 10.

The CKEditor 4 to 5 upgrade path no longer checks if a plugin is enabled before migrating its config. Sites should update to Drupal 9.4.4 or higher prior to updating to Drupal 10, and should ensure update.php is run. This will ensure disabled CKEditor 4 plugins do not have their config stored.