Project

General

Profile

Actions

Bug #67876

closed

FindReplace: Highlighting and saving saves the highlight spans

Added by filigivuji filigivuji almost 9 years ago. Updated almost 7 years ago.

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

  1. Open the FindReplace dialog.
  2. Under "Search for", enter a phrase from the RTE's text.
  3. Press "No".
  4. (Optional: Press the "Highlight" button to highlight other occurrences.)
  5. 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

Also available in: Atom PDF