Bug #70213
closedClasses for tables set in RTE are not rendered in FE
0%
Description
RTE classes:
RTE {
// Explicit class names
classes {
table {
name = Base
}
table-striped {
name = Striped rows
}
table-bordered {
name = Bordered table
}
table-hover {
name = Hover rows
}
table-condensed {
name = Condensed table
}
table-responsive {
name = Responsive table
}
-------------------
PAGE TS CONFIG:
buttons.blockstyle.tags.table.allowedClasses >
buttons.blockstyle.tags.table.allowedClasses = table, table-striped, table-bordered, table-hover, table-condensed, table-responsive
allowedClasses < RTE.default.classesCharacter
allowedClasses := addToList(table, table-striped, table-bordered, table-hover, table-condensed, table-responsive, code)
------------------
setup:
lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser.tags.table.
fixAttrib.class.list >
lib.parseFunc_RTE {
externalBlocks.table.stdWrap.HTMLparser.tags.table.fixAttrib.class {
default = table
always = 1
list = table, table-striped, table-bordered, table-hover, table-condensed, table-responsive
}
}
classes are saved to DB but not rendered in FE
Updated by Wouter Wolters about 9 years ago
- Subject changed from Classes for tables set in RTE are not renddered in FE - Bug #64768 in 6.2 to Classes for tables set in RTE are not renddered in FE
- Description updated (diff)
- Category set to RTE (rtehtmlarea + ckeditor)
Updated by Georg Ringer about 9 years ago
- Subject changed from Classes for tables set in RTE are not renddered in FE to Classes for tables set in RTE are not rendered in FE
Updated by Riccardo De Contardi about 9 years ago
- Status changed from New to Needs Feedback
Hi Paolo, I made a test with TYPO3 6.2.15 and the following configuration:
TS Config:
RTE.default.showButtons = * RTE.classes{ table { name = Base } table-striped { name = Striped rows } table-bordered { name = Bordered table } table-hover { name = Hover rows } table-condensed { name = Condensed table } table-responsive { name = Responsive table } } RTE.default { buttons { blockstyle.tags.table.allowedClasses := addToList(table, table-striped, table-bordered, table-hover, table-condensed,table-responsive) } proc { allowedClasses ( table, table-striped, table-bordered, table-hover, table-condensed, table-responsive ) }
TS Setup:
lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser.tags.table.fixAttrib.class.list := addToList(table, table-striped, table-bordered, table-hover, table-condensed,table-responsive)
And it seems to work; could you tell me if it solves your problem? Thank you.
Updated by Riccardo De Contardi almost 9 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.
You could also join the #typo3-cms channel in Slack if you still need support.
Thank you