Project

General

Profile

Actions

Feature #16079

closed

RTE adds unwanted <p> tags in Tables

Added by Johnny over 17 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2007-08-03
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

From the RTE, insert a table and add some content. Go to the front end and look at the table. The line heights are extra large because all the table cells have had <p></p> wrapped around the content.

Compare this with the table cObject which does not behave in this manner.

See known patch below. It would be nice if this behavior could be fixed by default.

A screenshot can be provided if necessary.

Non destructive fix/patch reported as:

lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default >
lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default.stdWrap.parseFunc =< lib.parseFunc

From:

http://lists.netfielders.de/pipermail/typo3-project-rte/2006-August/000726.html

I guess this never made it into the bug tracker. I did a search and couldn't find anything with RTE <p> tags and tables.
(issue imported from #M6064)


Files

rtehtmlarea_feature_6064.patch (10.1 KB) rtehtmlarea_feature_6064.patch Administrator Admin, 2007-11-22 06:34
rtehtmlarea_feature_6064_ie.patch (2.41 KB) rtehtmlarea_feature_6064_ie.patch Administrator Admin, 2008-03-12 21:47
Actions #1

Updated by Johnny over 17 years ago

First line should read:

The line heights are extra large because all the table cells have had p tags wrapped around the content.

Actions #2

Updated by Stanislas Rolland almost 17 years ago

A new Page TSConfig property: RTE.default.buttons.table.disableEnterParagraphs is added. If set, it will prevent Firefox, Safari and Opera from inserting paragraphs in table cells. However, it will not prevent Internet Explorer from doing so.

Committed to SVN TYPO3core trunk revison 2746.

Frontend parsing configuration will NOT be part of RTE configuration. Perhaps the proposed default configuration setting should be reported against CSS Styyled Content.

Actions #3

Updated by Stanislas Rolland over 16 years ago

The issue is also fixed in IE in SVN TYPO3core branch TYPO3_4-2 revision 3418.

Actions

Also available in: Atom PDF