Bug #70213
Updated by Wouter Wolters about 9 years ago
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