[TYPO3] RTE in draft workspace
Bas van der Togt
b.vandertogt at profinit.com
Sun Jun 11 19:17:30 CEST 2006
Dear List,
within typo3 v4 we make use of workspaces in combination with RTE v1.4.1.
In the LIVE workspace evrything seems to work fine except for showing
the bgcolor of texts in the front-end. The bgcolors are saved in the DB
however.
In the custom DRAFT workspace however the following elements are NOT
even saved in de DB: underline, font:color, font:bgcolor and alignment.
The classes from the CSS are saved correctly in both workspaces.
We make use of Firefox. In IE we even have more problems.
Anyone an idea?
Thanks!
This is my code:
# Headers
TCEFORM.tt_content.header_layout.altLabels.2 = paragraph_head
TCEFORM.tt_content.header_layout.altLabels.0 = header
TCEFORM.tt_content.header_layout.removeItems = 1,3,4,5,6
# Frames
TCEFORM.tt_content.section_frame.removeItems = 1,5,6,10,11,12,20,21
# Columns
mod {
SHARED.colPos_list = 0,2,3
}
# RTE
RTE.default.proc {
overruleMode = ts_css
dontConvBRtoParagraph = 1
remapParagraphTag = p
allowTagsOutside = img,hr,address,span,table,div,br
allowTags = a, abbr, acronym, address, blockquote, b, br, caption,
center, cite, code, div, em, font, h1, h2, h3, h4, h5, h6, hr, i, img,
li, link, ol, p, pre, q, sdfield, span, strike, strong, sub, sup, table,
thead, tbody, tfoot, td, th, tr, tt, u, ul
denyTags >
keepPDIVattribs = align, style, class
entryHTMLparser_db = 1
entryHTMLparser_db {
allowTags < RTE.default.proc.allowTags
denyTags >
htmlSpecialChars = 0
tags {
img.allowedAttribs = style, class, id, src
img.rmTagIfNoAttrib = 1
p.fixAttrib.align.unset >
div.fixAttrib.align.unset >
p.allowedAttribs = class, style, align
p.fixAttrib.style.unset >
span.fixAttrib.style.unset >
}
removeTags =
keepNonMatchedTags = protect
}
HTMLparser_db {
noAttrib = br
xhtml_cleaning = 1
}
exitHTMLparser_db = 1
exitHTMLparser_db {
tags.b.remap = strong
tags.i.remap = em
keepNonMatchedTags = 1
htmlSpecialChars = 0
}
}
RTE.config.tt_content.bodytext >
RTE.config.tt_content.bodytext.proc.overruleMode = ts_css
RTE.config.tt_content.bodytext.types.text.proc.overruleMode = ts_css
RTE.config.tt_content.bodytext.types.textpic.proc.overruleMode = ts_css
RTE.default {
showTagFreeClasses = 1
contentCSS = fileadmin/templates/css/styles_rte.css
useCSS = 0
enableWordClean = 1
removeTrailingBR = 1
removeComments = 1
removeTags =
removeTagsAndContents =
showButtons =
blockstyle,bold,italic,underline,left,center,right,orderedlist,unorderedlist,outdent,indent,textcolor,bgcolor,textindicator,insertcharacter,line,link,table,findreplace,removeformat,copy,cut,paste,undo,redo,toggleborders,tableproperties,cellmerge,about,rowinsertabove,rowinsertunder,rowdelete,rowsplit,columninsertbefore,columninsertafter,columndelete,columnsplit,cellinsertbefore,cellinsertafter,celldelete,cellsplit,cellproperties,rowproperties
hideButtons =
blockstylelabel,textstylelabel,textstyle,fontstyle,fontsize,formatblock,strikethrough,subscript,,image,
superscript,lefttoright,righttoleft,justifyfull,emoticon,user,acronym,spellcheck,chMode,inserttag,showhelp
keepButtonGroupTogether = 1
showStatusBar = 1
hidePStyleItems =
inlineStyle.text-alignment =
ignoreMainStyleOverride = 1
classesParagraph =
classesAnchor = external-link, external-link-new-window,
internal-link, internal-link-new-window, download, mail
classesAnchor.default {
page = internal-link
url = external-link-new-window
file = download
mail = mail
}
disableAlignmentFieldsetInTableOperations = 1
disableSpacingFieldsetInTableOperations = 1
disableColorFieldsetInTableOperations = 1
disableLayoutFieldsetInTableOperations = 1
disableBordersFieldsetInTableOperations = 1
}
TCEFORM.tt_content.bodytext.RTEfullScreenWidth = 100%
RTE.default.FE < RTE.default
RTE.default.FE.showStatusBar = 1
RTE.default.FE.hideButtons =
blockstylelabel,textstylelabel,textstyle,fontstyle,fontsize,formatblock,strikethrough,subscript,,image,
superscript,lefttoright,righttoleft,justifyfull,emoticon,user,acronym,spellcheck,chMode,inserttag,showhelp,about,rowproperties,rowinsertabove,rowinsertunder,rowdelete,rowsplit,columninsertbefore,columninsertafter,columndelete,columnsplit,cellproperties,cellinsertbefore,cellinsertafter,celldelete,cellsplit
RTE.default.FE.FE >
RTE.default.FE.userElements >
RTE.default.FE.userLinks >
RTE.default.disableColorPicker = 1
RTE.default.disableSelectColor = 0
RTE.colors {
color1 {
name = groen
value = #BED600
}
color2 {
name = groen
value = #A2AD00
}
color3 {
name = groen
value = #878800
}
color4 {
name = groen
value = #5B8F22
}
color5 {
name = groen
value = #7AB800
}
color6 {
name = wit
value = #ECECEC
}
color7 {
name = grijs
value = #DEDEDE
}
color8 {
name = grijs
value = #CFCFCF
}
color9 {
name = grijs
value = #B8B8B8
}
color9 {
name = grijs
value = #9A9A9A
}
color10 {
name = grijs
value = #7E7E7E
}
color11 {
name = grijs
value = #626262
}
color12 {
name = rood
value = #E60F0A
}
color13 {
name = rood
value = #960F07
}
}
RTE.default.colors = color1, color2, color3, color4, color5, color6,
color7, color8, color9, color10, color11, color12, color13
More information about the TYPO3-english
mailing list