Commit ba93ec6
committed
[BUGFIX] Fix unlinking of anchors to hidden or deleted pages in RTE
When RTE content is loaded from database the attribute `data-rte-error`
is added to the markup when the linked record is hidden or deleted.
The Typo3UnlinkCommand needs to remove this data attribute in order for
CKEditor to remove the surrounding `<a>`.
Resolves: #107620
Releases: main, 13.4
Change-Id: I8443989cd8ed05cb3a1616216a7822c1a6de8f51
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/90938
Tested-by: Garvin Hicking <garvin@hick.ing>
Reviewed-by: Garvin Hicking <garvin@hick.ing>
Tested-by: Benjamin Franzke <ben@bnf.dev>
Reviewed-by: Benjamin Franzke <ben@bnf.dev>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Andreas Nedbal <andy@pixelde.su>
Reviewed-by: Andreas Nedbal <andy@pixelde.su>1 parent 6da652d commit ba93ec6
File tree
2 files changed
+2
-1
lines changed- Build/Sources/TypeScript/rte-ckeditor/plugin
- typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/plugin
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
257 | 258 | | |
258 | 259 | | |
259 | 260 | | |
| |||
0 commit comments