Skip to content
Snippets Groups Projects
Commit ed892fa8 authored by Christian Eßl's avatar Christian Eßl Committed by Benni Mack
Browse files

[BUGFIX] Fix some dirty field checks in FormEngine

In some cases, the "dirty" field checks were still not working for both
ckeditor and flexform fields. The following changes were made:

- Flexform elements can use dots for html id attributes, which are not
officially supported by the W3C CSS specification. So escape the
corresponding element selectors to work with the validation.
- When maximizing an RTE, ckeditor4 automatically removes all the
classes from the connected html elements (and reapplies them once leaving
the fullscreen mode), so the markFieldAsChanged() validation won't work
here. In this case, apply an event for remembering the changes, once the
user leaves fullscreen again.

Resolves: #88978
Resolves: #88776
Releases: master, 9.5
Change-Id: Ib21d415766b67be8d6c6e9aae8b8e937d03850bd
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63730


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 74ac0026
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment