Actions
Bug #67876
closedFindReplace: Highlighting and saving saves the highlight spans
Status:
Closed
Priority:
-- undefined --
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
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.
Actions