[Typo3] htmlArea RTE Buttons and FCEs

Christopher bedlamhotel at gmail.com
Tue Oct 25 18:12:17 CEST 2005


Hi Jeff,

On 25/10/05, Jeff Segars <jsegars at alumni.rice.edu> wrote:
> I've got a Flexible Content Element with one RTE-enabled field.  For
> this field, I'm trying to limit the htmlArea RTE to just a few of the
> available buttons.
>
> Within the standard TYPO3 content elements, I've been able to only
> display specific buttons.  Within FCEs and Flexforms, I've been able to
> display an RTE, but I have not been able to specify buttons for that
> RTE. I've been trying to work off the examples at
> http://wiki.typo3.org/index.php?title=TemplaVoila#Enabling_RTE_in_FCEs
> but nothing seems to work.
>
> Has anyone been able to limit the htmlArea RTE buttons within an FCE or
> Flexform?
>

The final example on that page [1] definitely works with the following TSconfig:

### Page TSconfig

RTE.default {
  contentCSS = {$RTE_stylesheet}
  showTagFreeClasses = 0
  classesCharacter =
  classesImage =
  classesAnchor =

  removeComments = 1
  removeTags = font
  removeTagsAndContents = style, script

  removeTrailingBR = 1

  # Match these items to
"TCEFORM.tt_content.header_layout.removeItems" list below
  hidePStyleItems = h4,h5,h6,address

  useCSS = 0
}

RTE.default.hideButtons =  line, textcolor, bgcolor, fontstyle,
fontsize, lefttoright, righttoleft, justifyfull, outdent, indent,
emoticon, table, showhelp, about, toggleborders, tableproperties,
rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit,
columninsertbefore, columninsertafter, columndelete, columnsplit,
cellproperties, cellinsertbefore, columninsertafter, celldelete,
cellsplit, cellmerge, inserttag, user
# Showing: blockstylelabel,blockstyle,textstylelabel, textstyle,
formatblock, bold, italic, underline, strikethrough, subscript,
superscript, left, center, right, orderedlist, unorderedlist, link,
image, insertcharacter, acronym, findreplace, spellcheck, chMode,
removeformat, copy, cut, paste, undo, redo,

RTE.default.hidePStyleItems = PRE
RTE.default.toolbarOrder = chMode, bar,
blockstylelabel,blockstyle,textstylelabel, formatblock, textindicator,
bar, removeformat, bar, image, link, linebreak,  insertcharacter,
acronym, bar, bold, italic, underline, strikethrough, subscript,
superscript, bar, left, center, right, bar, orderedlist,
unorderedlist, linebreak, copy, cut, paste, bar, undo, redo, bar,
findreplace, spellcheck, bar

###

I've never tried to show a different set of buttons for one single
element or branch of the tree though.

-Christopher

[1] http://wiki.typo3.org/index.php?title=TemplaVoila#Enabling_RTE_in_FCEs_.28further_additional_comment.29



More information about the TYPO3-english mailing list