Project

General

Profile

Actions

Bug #102572

closed

Inconsistent br handling in table content element

Added by Christoph Lehmann 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2023-11-30
Due date:
% Done:

100%

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

Description

1. Click "small fields" (first button, top left) to enable big fields
2. Add text in a new line:

3. Save the element

Wrong Another table row is added

Correct Given you press the button "small fields" before save, then a br tag is added:


Files

no-br-added.png (38.3 KB) no-br-added.png Christoph Lehmann, 2023-11-30 13:44
new-row-added.png (32.7 KB) new-row-added.png Christoph Lehmann, 2023-11-30 13:46
br-added.png (27.2 KB) br-added.png Christoph Lehmann, 2023-11-30 13:48

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #95036: Move table editor from "FieldControl" to inlineClosed2021-08-30

Actions
Actions #1

Updated by Oliver Hader 3 months ago

  • Status changed from New to Accepted
  • TYPO3 Version changed from 12 to 11

Confirmed. The Lit-Element wizard was introduced with TYPO3 v11

Actions #2

Updated by Oliver Hader 3 months ago

  • Related to Task #95036: Move table editor from "FieldControl" to inline added
Actions #3

Updated by Oliver Hader 3 months ago

In TYPO3 v11 (prior to dropping the TableController in issue #95036), this was stored like this

Title 1|Title 2|Title 3<br />a<br />a
Row 1|Row 1|Row 1
Row 2|Row 2|Row 2
Row 3|Row 3|Row 3
Row 4|Row 4|Row 4

It can be solved in JavaScript by converting newlines to <br>, however actually the renderType=textTable should also be handled in DataHandler.

Actions #4

Updated by Gerrit Code Review 3 months ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82082

Actions #5

Updated by Gerrit Code Review 3 months ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82022

Actions #6

Updated by Oliver Hader 3 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF