#67876FindReplace: Highlighting and saving saves the highlight spans
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.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.