Feature #25084
closedContent rendering: Table cell content always wrapped in paragraphs
100%
Description
By default, the content of table cells is always wrapped in paragraph tags when rendered in the frontend even if no paragraphs are entered in the RTE.
< td >example< /td >
is rendered as
< td >< p >example< /p >< /td >
It would be nice if the default could be changed as it leads to bloated page and requires special additional CSS treatment for paragraphs in cells.
Currently, a suitable solution seems to be adding
lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default >
lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default.stdWrap.parseFunc =< lib.parseFunc
to the setup field of the TS template.
(issue imported from #M17649)
Files
Updated by Stanislas Rolland almost 14 years ago
I don't think this is correct, because the table cell may contain block-level elements...
Updated by Stanislas Rolland almost 14 years ago
I think we need to set:
lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default.callRecursive>
lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default.stdWrap.parseFunc =< lib.parseFunc_RTE
lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default.stdWrap.parseFunc.nonTypoTagStdWrap.encapsLines.nonWrappedTag =
Updated by Stanislas Rolland almost 14 years ago
Attaching TYPO3 4.4 version of the patch for testing purposes, but I think this will have to be considered a feature.
Updated by Xavier Perseguers over 13 years ago
- Target version changed from 4.6.0 to 4.6.0-beta1
- TYPO3 Version set to 4.6
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change Ia23d0bbab338d6fb0efc90eb60bdd485a2c2c5f8 has been pushed to the review server.
It is available at http://review.typo3.org/3327
Updated by Mr. Hudson over 13 years ago
Patch set 2 of change Ia23d0bbab338d6fb0efc90eb60bdd485a2c2c5f8 has been pushed to the review server.
It is available at http://review.typo3.org/3327
Updated by Stanislas Rolland over 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset fecee28f5ecb2c5066ccecc17f6bda42641e49de.
Updated by Xavier Perseguers over 12 years ago
- Status changed from Resolved to Closed
Updated by Ernesto Baschny over 11 years ago
- Target version deleted (
4.6.0-beta1)