Problem/Motivation
In Drupal 10, CKEditor 4 will be replaced with CKEditor 5. It can be tested following the steps on https://www.drupal.org/docs/core-modules-and-themes/core-modules/ckeditor-5-module/testing-the-ckeditor-4-to-5-upgrade-path
GeshiFilter module provides a plugin for CKEditor to add syntaxically colorated code blocks to a text field, and there is no upgrade path for that:
The CKEditor 4 button GeshiFilter does not have a known upgrade path. If it allowed editing markup, then you can do so now through the Source Editing functionality.
Steps to reproduce
Enable GeshiFilter module
Enable CKEditor 5 module.
Configure the Basic HTML format by adding the GeshiFilter button, and save it.
Configure it again by selecting "CKEditor 5" instead of "CKEditor": the above message is displayed.
Proposed resolution
A CKEditor 5 plugin is needed. It can be declared via a Drupal specific plugin class and configured via a *.ckeditor5.yml file.
I suggest to mimic the core codeblock CKEditor 5 plugin added from 9.4.x as a codebase to build on GeshiFilter upgrade.
Comments
Comment #2
Dom. CreditAttribution: Dom. as a volunteer and at ACINO commentedModule added to the tracking list referenced by core at https://www.drupal.org/docs/core-modules-and-themes/core-modules/ckeditor-5-module/upgrade-coordination-for-modules-providing-ckeditor-4-plugins#comment-14479368
Comment #3
Wim LeersI'm thinking that we can maybe do the same here as we did for https://www.drupal.org/project/codetag — see #3274278: Migrate "codetag" contrib CKEditor 4 plugin to built-in equivalent in core's CKEditor 5. Will investigate.
Comment #4
yukare CreditAttribution: yukare commentedSince it is core now, most of this is obsolet now as geshifilter works with the new code block. For now, the submodule will not work with Drupal 10.
The only missing feature is syntaxically colorated code blocks.