Actions
Bug #84245
openl10n_mode = prefixLangTitle results in extra empty paragraphs for RTE enabled fields
Status:
New
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
Start date:
2018-03-13
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
For tt_content.bodytext
the TCA
l10n_mode
is set to 'prefixLangTitle'
.
This results in a string being pre-pended to the field value. And because this string isn't wrapped in <p></p>
or other tag the rendering switches back to the old behavior and adds a extra `<p>&nbps;</p>` to the end of the content.
So:
<p>my text</p>
Gets in DB:
[Translate to USA:]<p>mytext</p>
And when you open the RTE you get:
<p>[Translate to USA:]</p> <p>mytext</p> <p> </p>
This is then saved to DB after pushing save
Expected in DB before manual save:
<p>[Translate to USA:]</p> <p>mytext</p>
So the first line is wrapped in <p></p>
.
Updated by Frans Saris over 6 years ago
- Category changed from DataHandler aka TCEmain to RTE (rtehtmlarea + ckeditor)
Updated by Frans Saris over 6 years ago
- Description updated (diff)
Updated description with expected result.
Updated by Susanne Moog about 6 years ago
- Sprint Focus set to On Location Sprint
Updated by Ursula Klinger about 6 years ago
I cannot reproduce it with CKE-Editor and TYPO3 9
Updated by Benni Mack over 5 years ago
- Target version changed from next-patchlevel to Candidate for patchlevel
Updated by Riccardo De Contardi almost 5 years ago
maybe this is related? #88479
Updated by Susanne Moog almost 5 years ago
- Sprint Focus deleted (
On Location Sprint)
Actions