Project

General

Profile

Actions

Bug #100046

open

Creating a link within an RTE CKEditor table cell without having any text selected merges this table cell with a neighboring cell

Added by Gerrit Hübbers about 1 year ago. Updated 26 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2023-02-28
Due date:
% Done:

0%

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

Description

Using

fluid_styled_content v11.5.24
rte_ckeditor v11.5.24

When editing a content element with CKEditor, when adding a link within an HTML table cell ( <td> ) WITHOUT having selected some text on which this link is being added to, this table cell gets merged with a neighboring cell, effectively deleting one <td>..</td> element.

bodytext before link insertion:

<table border="1">
    <tbody>
        <tr>
            <td>111</td>
            <td>222</td>
            <td>333</td>
        </tr>
        <tr>
            <td>444</td>
            <td>555</td>
            <td>666</td>
        </tr>
        <tr>
            <td>777</td>
            <td>888</td>
            <td>999</td>
        </tr>
    </tbody>
</table>

bodytext after link insertion:

<table border="1">
    <tbody>
        <tr>
            <td>111</td>
            <td>222</td>
            <td>333</td>
        </tr>
        <tr>
            <td>444<a href="mailto:foo@example.com">555</a></td>
            <td>666</td>
        </tr>
        <tr>
            <td>777</td>
            <td>888</td>
            <td>999</td>
        </tr>
    </tbody>
</table>

Here is a screen recording:

Maybe this was introduced with the fix for https://forge.typo3.org/issues/92245 (CKEditor: Table wrapped around links when linking a text in a table (Chrome))?


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #92245: CKEditor: Table wrapped around links when linking a text in a table (Chrome)Closed2020-09-09

Actions
Actions #1

Updated by Gerrit Hübbers about 1 year ago

This bug is not reproducible in standalone CKEditor 4 (TYPO3 11's CKEditor IMHO is based on CKEditor in Version 4):

https://ckeditor.com/ckeditor-4/demo/

With standalone CKEditor 4, when creating a link without having any text selected, the link will get as its text content the actual URL as text, and <td> cells are not merged/deleted.

Hence in my opinion, the bug reported here originates from TYPO3's CKEditor integration.

Actions #2

Updated by Georg Ringer about 1 year ago

  • Related to Bug #92245: CKEditor: Table wrapped around links when linking a text in a table (Chrome) added
Actions #3

Updated by Benjamin Franzke 9 months ago

  • Parent task set to #99669
Actions #4

Updated by Benjamin Franzke 9 months ago

  • Parent task deleted (#99669)
Actions #5

Updated by Riccardo De Contardi 26 days ago

This is reproducible only on TYPO3 11.5.35, not on 12.4.14 nor on 13.2.0-dev

Actions

Also available in: Atom PDF