Discussion:
[TYPO3-english] RTE + TYPO3 7.6.x + contenttable
francois beaulieu
2017-11-06 19:36:10 UTC
Permalink
Hi guys!

I try to configure my RTE.
On FE i still have <table class="contenttable">.
i want to get rid of it.
Everything is ok on BE.

This is my configuration :

Page TSConfig :

RTE.classes >
RTE.default {
showButtons = blockstylelabel, blockstyle, textstylelabel, textstyle
showButtons := addToList(formatblock, bold, italic, subscript, superscript)
showButtons := addToList(orderedlist, unorderedlist, outdent, indent, textindicator)
showButtons := addToList(insertcharacter, link, table, findreplace, chMode, removeformat, undo, redo, about)
showButtons := addToList(toggleborders, tableproperties)
showButtons := addToList(rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit)
showButtons := addToList(columninsertbefore, columninsertafter, columndelete, columnsplit)
showButtons := addToList(cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge)
proc.allowedClasses >
proc.allowedClasses = alert-success,alert-info,alert-warning,alert-danger,alert,text-muted,text-primary,text-success,text-info,text-warning,text-danger,label,label-default,label-primary,label-info,label-warning,label-danger,table,table-striped,table-bordered,table-hover,table-condensed
buttons {
blockstyle.tags {
div.allowedClasses = alert-success,alert-info,alert-warning,alert-danger,alert,text-muted,text-primary,text-success,text-info,text-warning,text-danger
table.allowedClasses = table,table-striped,table-bordered,table-hover,table-condensed
}
textstyle.tags {
span.allowedClasses = label,label-default,label-primary,label-info,label-warning,label-danger
}

}
contentCSS = fileadmin/templates/css/rte.css
showTagFreeClasses = 0
enableWordClean = 1
useCSS = 1
}
RTE.config.tt_content.bodytext.proc.allowedClasses = alert-success,alert-info,alert-warning,alert-danger,alert,text-muted,text-primary,text-success,text-info,text-warning,text-danger,label,label-default,label-primary,label-info,label-warning,label-danger,table,table-striped,table-bordered,table-hover,table-condensed

RTE.default.FE < RTE.default

Setup :

lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser.tags.table.fixAttrib.class >
lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser.tags.table.fixAttrib.class.default = table
lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser.tags.table.fixAttrib.class.list = table,table-striped,table-bordered,table-hover,table-condensed

I probably forgot somthing.
Thanks!
francois beaulieu
2017-11-07 20:09:52 UTC
Permalink
Close!!!

Loading...