Skip to content

Instantly share code, notes, and snippets.

@ogrosko
Created September 22, 2016 10:23
Show Gist options
  • Save ogrosko/5126ebe7249066b26007b46970327475 to your computer and use it in GitHub Desktop.
Save ogrosko/5126ebe7249066b26007b46970327475 to your computer and use it in GitHub Desktop.
Typo3 RTE table class
lib.parseFunc_RTE {
externalBlocks {
table {
stdWrap {
wrap = <div class="table-responsive">|</div>
HTMLparser.tags.table.fixAttrib.class.list:= addToList(table-bordered)
}
}
}
}
table_class_list: [
{title: 'None', value: ''},
{title: 'Bordered table', value: 'table-bordered'}
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment