Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RTE {
- ## define table classes
- classes.myCustomTable {
- name = My custom table layout
- alternating.rows {
- # 0 = even, 1 = odd
- startAt = 0
- oddClass = row-odd
- evenClass = row-even
- oddHeaderClass = row-odd
- evenHeaderClass = row-even
- }
- counting.columns {
- startAt = 0
- columnClass = td-count-
- columnLastClass = td-last
- columnHeaderClass = th-count-
- columnHeaderLastClass = th-last
- }
- }
- ## set this so that row-odd and row-even are not being used together in the same row definition to allow the zebra effect
- mutuallyExclusiveClasses = row-odd,row-even
- proc.allowedClasses := addToList(row-even, row-odd, td-count-, td-last, th-count-, th-last, myCustomTable )
- buttons.blockstyle.tags {
- div.allowedClasses := addToList()
- table.allowedClasses := addToList(myCustomTable)
- tr.allowedClasses := addToList(row-odd, row-even)
- td.allowedClasses := addToList(td-count-, td-last)
- th.allowedClasses := addToList(th-count-, th-last)
- }
- buttons.textstyle.tags.span.allowedClasses := addToList()
- buttons.link.properties.class.allowedClasses := addToList()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement