Feature #16079
closedRTE adds unwanted <p> tags in Tables
0%
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
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.
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.
Updated by Stanislas Rolland over 16 years ago
The issue is also fixed in IE in SVN TYPO3core branch TYPO3_4-2 revision 3418.