[BUGFIX] Observe GridEditor visibility to refresh codeMirror
In case a TCA field with renderType=belayoutwizard is configured to be not in the initially visible tab, the CodeMirror editor remains empty, when switching to the tab, containing the editor. The reason is, CodeMirror needs to be refreshed, after becoming visible. Therefore, the GridEditor, holding the configuration, is now observed, if not initially visible. As soon as it becomes visible, the CodeMirror instance - if any - is refreshed. Can be tested with `tx_styleguide_elements_basic.text_20`. Resolves: #96062 Releases: master, 11.5 Change-Id: Ic03c315e8f12bc2f3623fdb11a1782d5c1081a23 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72277 Tested-by: core-ci <email@example.com> Tested-by: Jochen <firstname.lastname@example.org> Tested-by: Nikita Hovratov <email@example.com> Tested-by: Benni Mack <firstname.lastname@example.org> Tested-by: Oliver Bartsch <email@example.com> Reviewed-by: Jochen <firstname.lastname@example.org> Reviewed-by: Nikita Hovratov <email@example.com> Reviewed-by: Benni Mack <firstname.lastname@example.org> Reviewed-by: Oliver Bartsch <email@example.com>
This diff is collapsed.