Problem/Motivation
This should be done after #2911932: Correct vertical tab does not focus on form validation is committed so it is PP-1.
In #3261942: Compatibility issues with inline form errors we disabled inline form errors when a user tries to switch their editor to CKEditor 5. This was because if a user has invalid settings for CKEditor 5, the useful error message that tells the user what is wrong is not visible to the user when inline form errors is enabled.
This issue is to re-enable inline form errors by removing the workaround added after #2911932: Correct vertical tab does not focus on form validation is done.
Steps to reproduce
Proposed resolution
Remove the lines that disable inline form errors inside of
\Drupal\ckeditor5\Plugin\Editor\CKEditor5::assessActiveTextEditorAfterBuild
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 3263668-6.patch | 1.05 KB | wim leers |
Issue fork drupal-3263668
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
hooroomooComment #5
idebr commented#2911932: Correct vertical tab does not focus on form validation is fixed, so this issue is no longer postponed.
Comment #6
wim leersComment #7
smustgrave commentedInstalled inline error forms
On a text format that was setup for ckeditor4
Changed to ckeditor5
Nothing seemed out of normal
Pointed out one of my ckeditor modules has no upgrade paths haha
Comment #9
mgiffordTagging for WCAG 3.3.1
Comment #10
wim leersUnrelated failure in
Drupal\FunctionalTests\Installer\InstallerExistingConfigMultilingualTest::testConfigSync.Comment #13
wim leersWe should convert this to an MR — anybody who wants to do that? :) 🙏
Comment #16
omkar-pd commentedCreated MR from the patch #6.
Comment #17
omkar-pd commentedComment #18
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue.
While you are making the above changes, we recommend that you convert this patch to a merge request. Merge requests are preferred over patches. Be sure to hide the old patch files as well. (Converting an issue to a merge request without other contributions to the issue will not receive credit.)
Comment #19
wim leersThanks, @omkar-pd!
The following Nightwatch test failed:
Re-testing…
Comment #20
smustgrave commentedReroll seems fine, does appear to be random failure.
Comment #21
quietone commentedI'm triaging RTBC issues. I read the IS and the comments. I didn't find any unanswered questions or other work to do.
Leaving at RTBC.
Comment #22
longwaveBackported to 10.2.x as a tests-only fix.
Committed and pushed 86bd3d1299 to 11.x and 30c2899f4e to 10.2.x. Thanks!