Bug #67876
closedFindReplace: Highlighting and saving saves the highlight spans
0%
Description
- Open the FindReplace dialog.
- Under "Search for", enter a phrase from the RTE's text.
- Press "No".
- (Optional: Press the "Highlight" button to highlight other occurrences.)
- Press the content element's "Save document" button without closing the FindReplace dialog before.
Expected behavior:
The "htmlarea-frmark" spans get removed before saving the RTE's content to the database.
What happens instead:
The "htmlarea-frmark" spans are saved to the database.
Workaround to delete such spans:
Load the RTE on the same content element, and simply open and close the FindReplace dialog.
Fix:
HTMLArea.FindReplace.clearDoc should be called before submitting the form.
Updated by Riccardo De Contardi about 9 years ago
still present on 7.6-dev (latest master)
Updated by Riccardo De Contardi over 7 years ago
still present on 7.6.16; does not affect CKEditor AFAICS (it is not possible to save without closing the search and replace modal)
Updated by Riccardo De Contardi over 7 years ago
- Status changed from New to Closed
we are sorry, but we close this issue as now TYPO3 uses CKEditor where the issue is not reproducible and RTEHtmlarea development has been stopped.
RTEHtmlarea has been decoupled from the core and its code is available on GitHub:
https://github.com/FriendsOfTYPO3/rtehtmlarea
If you still need this fixed please create a PR on GitHub