1 2 3 4 5 |
RTE.classesAnchor.mail.titleText > RTE.classesAnchor.externalLinkInNewWindow.titleText > RTE.classesAnchor.externalLink.titleText > RTE.classesAnchor.internalLink.titleText > RTE.classesAnchor.download.titleText > |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
RTE.default { contentCSS = fileadmin/css/screen/rte.css classesParagraph := addToList(zitat) allowedClasses := addToList(zitat) proc { allowedClasses < RTE.default.allowedClasses } FE { proc { allowedClasses < RTE.default.allowedClasses } } } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
page TSConfig: ----------------------------------------------- RTE.default { proc.allowedClasses := addToList(alarm,ok,wichtig) buttons.textstyle.tags.span.allowedClasses := addToList(alarm,ok,wichtig) } RTE.classes { alarm.name = Achtung, Achtung! alarm.value = color: red; ok.name = Okidoki ok.value = color: green; wichtig.name = Wichtigpopichtig wichtig.value = color: blue; } fe-styles.css: ----------------------------------------------- .alarm { color: red; } .ok { color: green; } .wichtig { color: blue; } rte.css: ----------------------------------------------- span.alarm { color: red; } span.ok { color: green; } span.wichtigwichtig { color: blue; } Hinweis: span. wichtig, damit das Dropdownfeld "textsytle im RTE nicht ausgegraut und deaktiviert ist! -- |
1 2 3 4 5 6 |
RTE.default { hideButtons = subscript,superscript,outdent,indent,textcolor, bgcolor,table,blockstylelabel, blockstyle, textstylelabel, textstyle, formatblock hidePStyleItems = PRE, H3, H4, H5, H6, pre, address,blockquote,div } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
RTE.colors { color1{ name = Rot value = #8B002A } color2{ name = Grau value = #8E9EA9 } color3{ name = Schwarz value = #000000 } } RTE.default { disableSelectColor = 0 disableColorPicker = 1 colors = color1, color2, color3 } |
1 2 3 4 |
RTE.default { showButtons = formatblock, bold, italic, center, right, orderedlist, unorderedlist, insertcharacter, removeformat, chMode, link hidePStyleItems = PRE, H1, H3, H4, H5, H6, pre, address,div } |
RTE.default.buttons.link.queryParametersSelector.enabled = 1 |
1 2 3 |
RTE.default{ showButtons := addToList(pastetoggle) } |
1 2 |
RTE.default.showButtons := addToList(underline) RTE.default.hideButtons := addToList(blockstyle) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
RTE.default.proc { exitHTMLparser_db = 1 exitHTMLparser_db { tags { b.remap = strong i.remap = em } } exitHTMLparser_rte = 1 exitHTMLparser_rte { tags { strong.remap = b em.remap = i } } } |