Merged to 2.0.x
Hello @selpi, thanks for your report!
@sarwan_verma, alas but the solution you provided does not work for Drupal 11 as it requires this variable. See https://www.drupal.org/node/3404140 → for the details.
I've published the new release where I removed this variable definitions from any setting forms. I have not covered the code with tests yet but locally it works now either for D10.3.5 or for D11. Please check and review.
Hi Anche, there is an example of workaround for a similar case. https://drupal-coder.ru/blog/privatnye-kartinki-ckeditor-drupal-dinamich...
The post is in Russian but everything is clear from the code.
Let me put this temporary patch for CKEditor5 here.
Just for note - at least the old ckeditor seems to be loaded without any context, so it's hardly possible to use any tokens except global ones there.
@xpersonas there is a way, described here:
https://www.drupal.org/docs/develop/managing-a-drupalorg-theme-module-or... →
You will be interested in point #6.
@xpersonas, wouldnt't it be better for you to request for a maintainer role for this module?
I've fixed the issue in the latest release. Not the most ideal solution but works.