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 #1

Updated by Riccardo De Contardi over 8 years ago

still present on 7.6-dev (latest master)

Actions #2

Updated by Riccardo De Contardi about 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)

Actions #3

Updated by Riccardo De Contardi almost 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

Actions

Also available in: Atom PDF