Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EES-5580 validate EditableContentForm on submit after reinitialisation #5476

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

amyb-hiveit
Copy link
Collaborator

Fixes a bug where it was possible to save inaccessible content in release content by switching to the preview view and back.

The custom accessibility validation relies on elements from the CKEditor content being available, it's set onChange but this isn't triggered when the form is reinitialised after switching back from preview mode. I've updated the form to setElements on onElementsReady as well which is triggered on reinitialisaiton.

@bennettstuart bennettstuart merged commit 8c58d8b into dev Dec 20, 2024
8 checks passed
@bennettstuart bennettstuart deleted the EES-5580-editable-content-bug branch December 20, 2024 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants