Project

General

Profile

Actions

Bug #21024

closed

htmlArea RTE: superfluous span tags in content after server-based cleaning on paste operation

Added by Igor about 15 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-09-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

After pasting plaintext in the RTE a code like

<br /><span id="1252576999480S" style="display: none;">

is added after every pasted passage.

<br/> is unwanted
<span.... makes the page invalid for XHTML Validator.

(issue imported from #M11915)


Files

Actions #1

Updated by Stanislas Rolland about 15 years ago

Please report what version of TYPO3, what browser, what version of the browser you are using.

Actions #2

Updated by Igor about 15 years ago

TYPO3 Version: 4.2.8
rtehtmlarea 1.7.11
Browser: Firefox 3.5.3 (Windows)

I found this: http://www.typo3.net/forum/list/list_post//91381/
- might help

Actions #3

Updated by Chris topher about 15 years ago

I don't know, if a german-speaking thread is a big help for Stan so:
The solution which seems to work for the people in this thread is to set RTE.default.enableWordClean = 0.
Having it set to 1 produces the error.

Actions #4

Updated by Stanislas Rolland about 15 years ago

The problem arises when server-based cleaning is invoked on paste. In such case, intrusive bookmarks are inserted in the content in order to be able to restore the cursor position upon completion. The bookmarks are then removed.

However, cleaning is done asynchronously. Therefore, if multiple paste operations are done in a short lapse of time, bookmarks from previous requests are resent to the server and cannot be removed on return.

The attached patch fixes the issue by making the cleaning request synchronous. As a result, if the server-based cleaning operation takes some time, the author may experience a delay before (s)he can perform another operation.

Actions #5

Updated by Stanislas Rolland about 15 years ago

Committed to SVN TYPO3core trunk (revision 5929) and branch TYPO3_4-2 (revision 5930).

Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF