Bug #24280
closed<span> lost while saving if it spans the whole paragraph
0%
Description
The text styling ("important", "detail", ...) that is available in the RTE is lost while saving the content.
Example:
<p><span class="important">some text</span></p> (HTML view of RTE after applying the formatting)
becomes just <p>some text</p> after saving
Interestingly this only happens when formatting the complete paragraph. Formatting a part of it works - <p><span class='important'>some</span> text</p> is not changed.
1. enter some text in the RTE
2. select a complete paragraph
3. select text style "important"
4. click the "save" icon
5. find out that the text lost the "important" formatting
(issue imported from #M16655)
Updated by Christian Boltz over 13 years ago
The bugtracker eats some HTML tags, therefore I post it again with square brackets instead of angle brackets:
[p][span class="important"]some text[/span][/p] (HTML view of RTE after applying the formatting)
becomes just [p]some text[/b] after saving - the [span] is lost.
Interestingly this only happens when formatting the complete paragraph. Formatting a part of it works, for example [p][span class='important']some[/span] text[/p]
Updated by Martin over 13 years ago
In my case this happens with whole paragraphs and parts of it: http://bugs.typo3.org/view.php?id=16760
Updated by Christian Boltz over 13 years ago
Good news: This bug is fixed in Typo3 4.5 beta3 :-) - probably as a side effect of the fix for bug 0016760.
Please close this bugreport as accidently ;-) fixed.
Updated by Christian Kuhn over 13 years ago
Resolved, no change required.
Thanks for feedback.