- 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
almost 2 years ago 28,526 pass - @mingsong opened merge request.
- Status changed to Needs review
almost 2 years ago 2:55pm 14 June 2023 - last update
almost 2 years ago 28,526 pass - Status changed to RTBC
almost 2 years ago 3:00pm 14 June 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
That seems like a reasonable change!
Thanks for tracking that down 😊👏
- last update
almost 2 years ago Patch Failed to Apply - 🇦🇺Australia mingsong 🇦🇺
The patch from the MR. In case anyone need it to test with your site.
- last update
almost 2 years 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
almost 2 years 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.
- 🇬🇧United Kingdom juc1
I am having the same problem in 11.1 😒
Disabling other filters does not help.
- 🇳🇱Netherlands markwittens
I just had this issue in 11.1.3, it seems to be related to the "Heading" dropdown.
The workaround that worked for me was to place the Style dropdown behind the Heading dropdown in the toolbar, and then save it. Once saved successfully it can be moved wherever without further issues.
- 🇺🇸United States bnjmnm Ann Arbor, MI
I noticed there is activity from several people on this issue after a fix was committed and the issue closed.
If anyone above are hoping their comments result in additional changes to Drupal core, the chances of that happening are infinitely higher if it's reported in a new issue.
It is very rare that an issue is truly "reopened", and in those rare instances it's pretty much always within a few days of it being closed.