Project

General

Profile

Actions

Bug #84245

open

l10n_mode = prefixLangTitle results in extra empty paragraphs for RTE enabled fields

Added by Frans Saris about 6 years ago. Updated over 4 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
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>&nbsp;</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>.

Actions #1

Updated by Frans Saris about 6 years ago

  • Category changed from DataHandler aka TCEmain to RTE (rtehtmlarea + ckeditor)
Actions #2

Updated by Tymoteusz Motylewski about 6 years ago

so what is the expected state?

Actions #3

Updated by Frans Saris about 6 years ago

  • Description updated (diff)

Updated description with expected result.

Actions #4

Updated by Susanne Moog over 5 years ago

  • Sprint Focus set to On Location Sprint
Actions #5

Updated by Ursula Klinger over 5 years ago

I cannot reproduce it with CKE-Editor and TYPO3 9

Actions #6

Updated by Benni Mack about 5 years ago

  • Target version changed from next-patchlevel to Candidate for patchlevel
Actions #7

Updated by Riccardo De Contardi over 4 years ago

maybe this is related? #88479

Actions #8

Updated by Susanne Moog over 4 years ago

  • Sprint Focus deleted (On Location Sprint)
Actions

Also available in: Atom PDF