- First commit to issue fork.
- 🇦🇺Australia mingsong 🇦🇺
I came across this issue too.
The work around suggested in #5 did not work in my case. Even I click anywhere else in the UI before clicking save button, it still did not work.
The reason is that I have a contribute module called 'Events Log Track' installed which adds a submit handler function to every single form including the format config form. This causes following code at line 686 in Drupal\ckeditor5\Plugin\Editor::CKEditor5 failed to recognise it is a special AJAX updates.
// Special case: AJAX updates that do not submit the form (that cannot // result in configuration being saved). if ($form_state->getSubmitHandlers() === ['editor_form_filter_admin_format_editor_configure']) {
If I change that line to:
if (in_array('editor_form_filter_admin_format_editor_configure', $form_state->getSubmitHandlers())) {
then it works.
- last update
over 1 year ago 28,526 pass - @mingsong opened merge request.
- Status changed to Needs review
over 1 year ago 2:55pm 14 June 2023 - last update
over 1 year ago 28,526 pass - Status changed to RTBC
over 1 year ago 3:00pm 14 June 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
That seems like a reasonable change!
Thanks for tracking that down 😊👏
- last update
over 1 year ago Patch Failed to Apply - 🇦🇺Australia mingsong 🇦🇺
The patch from the MR. In case anyone need it to test with your site.
- last update
over 1 year ago 28,526 pass - 🇦🇺Australia mingsong 🇦🇺
Sorry the #14 patch is failed to apply to 10.0.x branch.
Here is the new patch. - Status changed to Fixed
over 1 year ago 5:06am 15 June 2023 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
over 1 year ago 4:01pm 11 August 2023 - 🇨🇴Colombia Augusto182
Hello. I'm reopening this issue because I'm facing a issue that seems related.
Core: 10.1.2 (also in 10.0.9 )
Steps to reproduce:
1. Open configuration page for some text format, i.e. Full HTML
2. Drag and drop Style button to active toolbarExpected result:
- Show up a "Select Style tab" under CKEditor5 plugin settings, to be able to edit such styles.
Current result:
Nothing happen. "Select Style tab" missing.
Also, if configuration is summited, show up this error: "Enable at least one style, otherwise disable the Style plugin. "Not sure if this could be addressed here, or a new issue should be created.
- 🇺🇸United States dehacker
Same as #24 in 10.2, but I had to disable all filters in order to add styles.