Project

General

Profile

Bug #73657 ยป RTE.ts

Harald no-lastname-given, 2016-02-24 20:43

 
RTE.classes >
RTE.classes {
small {
name = Size: Small
value = background-color: #fff0f5;
}
lead {
name = Size: Lead
value = background-color: #fff0f5;
}
badge {
name = Badge
value = background-color: #ffd700;
}

text-muted {
name = Text color: Muted
value = color:#999999;
}
text-primary {
name = Text color: Primary
value = color: #428bca;
}
text-success {
name = Text color: Success
value = color: #3c763d;
}
text-info {
name = Text color: Info
value = color: #31708f;
}
text-warning {
name = Text color: Warning
value = color: #8a6d3b;
}
text-danger {
name = Text color: Danger
value = color: #a94442;
}
text-left {
name = Align: Left
value = background-color: #faf0e6;
}
text-center {
name = Align: Center
value = background-color: #faf0e6;
}
text-right {
name = Align: Right
value = background-color: #faf0e6;
}
text-justify {
name = Align: Justify
value = background-color: #faf0e6;
}
text-lowercase {
name = Transform: Lowercase
value = background-color: #eaece1;
}
text-uppercase {
name = Transform: Uppercase
value = background-color: #eaece1;
}
text-capitalize {
name = Transform: Capitalize
value = background-color: #eaece1;
}

center-block {
name = Center content block
value = background-color: #e0ffff;
}

table {
name = Table: Base
}
table-responsive {
name = Table responsive
}
table-striped {
name = Table: Striped rows
alternating.rows {
# 0 = even, 1 = odd
startAt = 1
oddClass = row-odd
evenClass = row-even
oddHeaderClass = row-odd
evenHeaderClass = row-even
}
}
table-bordered {
name = Table: Bordered table
}
table-hover {
name = Table: Hover rows
}
table-condensed {
name = Table: Condensed table
}

btn {
name = Buttons: Base
value = background-color: #dcdcdc;
}
btn-default {
name = Buttons: Default
value = background-color: #f5f5dc;
}
btn-primary {
name = Buttons: Primary
value = background-color: #f5f5dc; color: #337ab7;
}
btn-success {
name = Buttons: Success
value = background-color: #f5f5dc; color: #3c763d;
}
btn-warning {
name = Buttons: Warning
value = background-color: #f5f5dc; color: #8a6d3b;
}
btn-danger {
name = Buttons: Danger
value = background-color: #f5f5dc; color: #a94442;
}
btn-link {
name = Buttons: Link
value = background-color: #f5f5dc;
}
btn-block {
name = Buttons: Block
value = background-color: #f5f5dc;
}
btn-info {
name = Buttons: Info
value = background-color: #f5f5dc; color: #31708f;
}
btn-lg {
name = Button size: Large
value = background-color: #f5f5dc;
}
btn-sm {
name = Button size: Small
value = background-color: #f5f5dc;
}
btn-xs {
name = Button size: X-Small
value = background-color: #f5f5dc;
}
btn-group {
name = Button Group
value = background-color: #f5f5dc;
}

label {
name = Label: Base
value = background-color: #dcdcdc;
}
label-default {
name = Label: Default
value = color: #777777;
}
label-primary {
name = Label: Primary
value = color: #337ab7;
}
label-success {
name = Label: Success
value = color: #3c763d;
}
label-info {
name = Label: Info
value = color: #31708f;
}
label-warning {
name = Label: Warning
value = color: #8a6d3b;
}
label-danger {
name = Label: Danger
value = color: #a94442;
}

list-group {
name = List: Group (ul)
}
list-unstyled {
name = List: Unstyled (ul)
}
list-inline {
name = List: Inline (ul)
}
list-group-item {
name = List: Group item (li)
}

pull-right {
name = Pull-right
value = background-color: #caf6e2;
}
pull-left {
name = Pull-left
value = background-color: #caf6e2;
}

alert {
name = Alert basis
}
alert-link {
name = Alert Link
value = background-color: #ffd700;
}
alert-success {
name = Alert success
value = color: #3c763d;
}
alert-info {
name = Alert info
value = color: #31708f;
}
alert-warning {
name = Alert warning
value = color: #8a6d3b;
}
alert-danger {
name = Alert danger
value = color: #a94442;
}

bs-callout {
name = Callout basic
}
bs-callout-success {
name = Callout success
value = color: #3c763d;
}
bs-callout-info {
name = Callout info
value = color: #31708f;
}
bs-callout-warning {
name = Callout warning
value = color: #8a6d3b;
}
bs-callout-danger {
name = Callout danger
value = color: #a94442;
}

indent-1 {
name = Indent-20px
value = background-color: #ffdead;
}
indent-2 {
name = Indent-40px
value = background-color: #ffdead;
}
indent-3 {
name = Indent-60px
value = background-color: #ffdead;
}

break-word {
name = Break-word
value = background-color: #e6e6fa;
}
}

RTE.default {

userElements.10 = Benutzerdefinierte Tags
userElements.10 {
1 = Gel&ouml;schter Text <mark>
1.description = Zur Hervorhebung von Textpassagen soll das <mark> Element nur in Verbindung mit textuellen Inhalten genutzt werden und muss eine Relevanz zum Kontext besitzen.
1.mode = wrap
1.content = <mark>|</mark>

2 = Durchgestrichener Text <s>
2.description = Um nicht mehr relevante Textbl&ouml;cke anzuzeigen, kann das Tag <s> verwenden werden.
2.mode = wrap
2.content = <s>|</s>

}

customTags = mark, s, button, object, param, embed, iframe, map, area, form, input, select, option

removeTags = center, font, strike, o:p, sdfield

defaultContentLanguage = de

rteResize = 1
RTEHeightOverride = 800

contentCSS = typo3conf/ext/he65bootstrap/Resources/Public/Styles/Rte.css
useCSS = 1

contextMenu.disabled = 1

keepButtonGroupTogether = 1

showStatusBar = 1
disableAlignmentFieldsetInTableOperations = 0
disableBordersFieldsetInTableOperations = 1
disableColorFieldsetInTableOperations = 1
disableLayoutFieldsetInTableOperations = 0
disableSpacingFieldsetInTableOperations = 1
disableDescriptionFieldsetInTableOperations = 0

showButtons (
formatblock
, blockstyle
, textstyle
, bold
, strong
, italic
, emphasis
, code
, definition
, keyboard
, citation
, quotation
, sample
, variable
, small
, underline
, deletedtext
, underline
, insertedtext
, bidioverride
, subscript
, superscript
, table
, tableproperties
, toggleborders
, tablerestyle
, rowproperties
, rowinsertabove
, rowinsertunder
, rowdelete
, rowsplit
, columnproperties
, columninsertbefore
, columninsertafter
, columndelete
, columnsplit
, cellproperties
, cellinsertbefore
, cellinsertafter
, celldelete
, cellsplit
, cellmerge
, left
, center
, right
, justifyfull
, insertparagraphbefore
, insertparagraphafter
, unorderedlist
, orderedlist
, insertcharacter
, emoticon
, line
, blockquote
, link
, unlink
, removeformat
, copy
, cut
, paste
, pastetoggle
, pastebehaviour
, findreplace
, user
, image
, chMode
, inserttag
, undo
, redo
)

hideButtons (
showhelp
, spellcheck
, blockstylelabel
, textstylelabel
, language
, showlanguagemarks
, about
, big
, span
, formattext
)

toolbarOrder (
formatblock
, bar
, blockstyle
, bar
, textstyle
, linebreak
, bold
, strong
, italic
, emphasis
, code
, definition
, keyboard
, citation
, quotation
, sample
, variable
, small
, underline
, deletedtext
, underline
, insertedtext
, bidioverride
, subscript
, superscript
, linebreak
, table
, tableproperties
, toggleborders
, tablerestyle
, rowproperties
, rowinsertabove
, rowinsertunder
, rowdelete
, rowsplit
, columnproperties
, columninsertbefore
, columninsertafter
, columndelete
, columnsplit
, cellproperties
, cellinsertbefore
, cellinsertafter
, celldelete
, cellsplit
, cellmerge
, linebreak
, left
, center
, right
, justifyfull
, insertparagraphbefore
, insertparagraphafter
, unorderedlist
, orderedlist
, insertcharacter
, emoticon
, line
, blockquote
, link
, unlink
, removeformat
, copy
, cut
, paste
, pastetoggle
, pastebehaviour
, findreplace
, user
, image
, chMode
, inserttag
, undo
, redo
)

buttons {
abbreviation.removeFieldsets = acronym, definedAcronym
formatblock.removeItems = blockquote
formatblock.orderItems = p, h1, h2, h3, h4, h5, h6, div, pre, address, nav, article, section, aside, header, footer
formatblock.items {
div.label = Division
h6.label = &Uuml;berschrift 6
}
formatblock.width = 170
formatblock.postfixLabelWithTag = 1

pastetoggle.setActiveOnRteOpen = 1

textstyle.tags.a.allowedClasses := addToList(alert-link, btn, btn-default, btn-primary, btn-success, btn-info, btn-warning, btn-danger, btn-link, btn-block, btn-lg, btn-sm, btn-xs)
textstyle.tags.span.allowedClasses := addToList(break-word, indent-1, indent-2, indent-3, badge, small, lead, text-muted, text-primary, text-success, text-info, text-warning, text-danger, alert, label, label-default, label-primary, label-success, label-info, label-warning, label-danger)
textstyle.showTagFreeClasses = 0
textstyle.postfixLableWithClassName = 0
blockstyle.tags.ul.allowedClasses := addToList(list-group, list-unstyled, list-inline)
blockstyle.tags.li.allowedClasses := addToList(list-group-item)
blockstyle.tags.blockquote.allowedClasses := addToList(pull-right, pull-left)
blockstyle.tags.div.allowedClasses := addToList(alert, alert-success, alert-info, alert-warning, alert-danger, bs-callout, bs-callout-success, bs-callout-info, bs-callout-warning, bs-callout-danger, btn-group, center-block, pull-right, pull-left, table-responsive, text-center, text-left, text-right, text-justify, text-lowercase, text-uppercase, text-capitalize)
blockstyle.tags.div.allowedClasses := removeFromList(csc-frame-frame1, csc-frame-frame2, important, name-of-person, detail)
blockstyle.tags.p.allowedClasses := addToList(break-word, center-block, indent-1, indent-2, indent-3, small, lead, text-muted, text-primary, text-success, text-info, text-warning, text-danger, text-center, text-left, text-right, text-justify, text-lowercase, text-uppercase, text-capitalize, pull-right, pull-left)
blockstyle.tags.table.allowedClasses := addToList(center-block, table, table-striped, table-bordered, table-hover, table-condensed)
blockstyle.tags.thead.allowedClasses := addToList (text-lowercase, text-uppercase, text-capitalize)
blockstyle.tags.tbody.allowedClasses := addToList (text-lowercase, text-uppercase, text-capitalize)
blockstyle.tags.tr.allowedClasses := addToList (row-odd, row-even, text-lowercase, text-uppercase, text-capitalize)
blockstyle.tags.th.allowedClasses := addToList (text-center, text-left, text-right, text-lowercase, text-uppercase, text-capitalize)
blockstyle.tags.td.allowedClasses := addToList (text-center, text-left, text-right, text-lowercase, text-uppercase, text-capitalize)

blockstyle.showTagFreeClasses = 0
blockstyle.postfixLableWithClassName = 0
blockstyle.width = 200
link.dialogueWindow.width = 600
link.dialogueWindow.height = 600
link.queryParametersSelector.enabled = 1
link.relAttribute.enabled = 1
image.options.magic.maxWidth = 400px
image.options.plain.maxWidth = 400px
image.properties.class.allowedClasses (
img-responsive rte-image, img-responsive rte-image-center, img-responsive rte-image-fleft, img-responsive rte-image-fright,
img-responsive img-rounded rte-image, img-responsive img-rounded rte-image-center, img-responsive img-rounded rte-image-fleft, img-responsive img-rounded rte-image-fright,
img-responsive img-circle rte-image, img-responsive img-circle rte-image-center, img-responsive img-circle rte-image-fleft, img-responsive img-circle rte-image-fright,
img-responsive img-thumbnail rte-image, img-responsive img-thumbnail rte-image-center, img-responsive img-thumbnail rte-image-fleft, img-responsive img-thumbnail rte-image-fright
)
image.properties.removeItems = border, float, paddingTop, paddingRight, paddingBottom, paddingLeft
left.useClass = text-left
center.useClass = text-center
right.useClass = text-right
justifyfull.useClass = text-justify
toggleborders {
setOnTableCreation = 1
setOnRTEOpen = 1
}
}

proc {
blockElementList = A, ADDRESS, DL, DD, HEADER, SECTION, FOOTER, NAV, ARTICLE, ASIDE, I, P, H1, H2, H3, H4, H5, H6, HR, PRE, TABLE, UL, OL, BUTTON, OBJECT, PARAM, EMBED, IFRAME, MAP, AREA, FORM, INPUT, SELECT, OPTION

allowTags := addToList(mark, s, button, object, param, embed, iframe, map, area, form, input, select, option)

denyTags >

allowTagsOutside := addToList(i, h1, h2, h3, h4, h5, h6, pre, table, ul, ol, button, object, param, embed, iframe, map, area, form, input, select, option)
allowedClasses (
break-word, indent-1, indent-2, indent-3, alert-link, alert, alert-success, alert-info, alert-warning, alert-danger, badge, error, small, lead,
bs-callout, bs-callout-success, bs-callout-info, bs-callout-warning, bs-callout-danger,
text-muted, text-primary, text-success, text-info, text-warning, text-danger, text-center, text-left, text-right, text-justify, text-lowercase, text-uppercase, text-capitalize,
center-block, pull-right, pull-left, list-group, list-group-item, list-unstyled, list-inline, table, table-striped, table-bordered, table-hover, table-condensed, table-responsive, row-odd, row-even,
btn, btn-default, btn-primary, btn-success, btn-info, btn-warning, btn-danger, btn-link, btn-block, btn-lg, btn-sm, btn-xs, btn-group,
label, label-default, label-primary, label-success, label-info, label-warning, label-danger,
img-responsive rte-image, img-responsive rte-image-center, img-responsive rte-image-fleft, img-responsive rte-image-fright,
img-responsive img-rounded rte-image, img-responsive img-rounded rte-image-center, img-responsive img-rounded rte-image-fleft, img-responsive img-rounded rte-image-fright,
img-responsive img-circle rte-image, img-responsive img-circle rte-image-center, img-responsive img-circle rte-image-fleft, img-responsive img-circle rte-image-fright,
img-responsive img-thumbnail rte-image, img-responsive img-thumbnail rte-image-center, img-responsive img-thumbnail rte-image-fleft, img-responsive img-thumbnail rte-image-fright
)
allowedClasses := removeFromList(csc-frame-frame1, csc-frame-frame2, important, name-of-person, detail, align-left, align-center, align-right, align-justify, component-items, action-items, component-items-ordered, action-items-ordered, indent)

dontConvBRtoParagraph = 1
keepPDIVattribs = class, style
entryHTMLparser_db = 1
entryHTMLparser_db {
allowTags < RTE.default.proc.allowTags
denyTags >
stripEmptyTags = 1
stripEmptyTags.tags = p
stripEmptyTags.treatNonBreakingSpaceAsEmpty = 1
removeTags := removeFromList(u)
htmlSpecialChars = 0
tags {
table.allowedAttribs < .p.allowedAttribs
thead.allowedAttribs < .p.allowedAttribs
tbody.allowedAttribs < .p.allowedAttribs
tfoot.allowedAttribs < .p.allowedAttribs
tr.allowedAttribs < .p.allowedAttribs
th.allowedAttribs < .p.allowedAttribs
td.allowedAttribs < .p.allowedAttribs
}
}
}
}

RTE.mutuallyExclusiveClasses {
10 = text-left, text-right, text-center, text-justify
20 = small, lead
30 = text-muted, text-primary, text-success, text-info, text-warning, text-danger
40 = list-group, list-unstyled, list-inline
50 = list-group-item
60 = alert-success, alert-info, alert-warning, alert-danger
70 = indent-1, indent-2, indent-3
80 = text-lowercase, text-uppercase, text-capitalize
90 = table-striped, table-bordered, table-hover, table-condensed
100 = row-odd, row-even
110 = btn-primary, btn-success, btn-info, btn-warning, btn-danger
120 = btn-lg, btn-sm, btn-xs
120 = label-default, label-primary, label-success, label-info, label-warning, label-danger
130 = bs-callout-success, bs-callout-info, bs-callout-warning, bs-callout-danger
}

RTE.default.enableWordClean.HTMLparser < RTE.default.proc.entryHTMLparser_db

RTE.default.FE < RTE.default
RTE.default.FE.proc < RTE.default.proc
    (1-1/1)