TYPO3 6.2 RTE无法添加按钮

时间:2014-07-16 12:51:51

标签: html button typo3 rte

我已经全新安装了TYPO3 6.2,在用户设置中启用了RTE,在扩展管理器中启用了RTE图像。

我试图通过RTE添加图像,但我坚持将所有按钮添加到默认配置。

Iv尝试使用User / Page TSConfig中的以下配置,但没有任何运气。

这是我在RTE窗口中看到的,没有任何改变:

enter image description here

我想启用所有编辑选项:

enter image description here

用户/页面TSConfig:

    ## Default RTE options
RTE.default {
        ## Disable RTE
    disable = 0

    addButtons = *

        ## Disable Typo3 specific browsers
    disableTYPO3Browsers = 0

        ## Default target for links
    defaultLinkTarget >

        ## Disable contextual menu
    disableContextMenu = 0
    disableRightClick = 0

        ## Display status bar
    showStatusBar = 1

        ## Disable color picker
    disableColorPicker = 0

        ## Disable color selector
    disableSelectColor = 0

        ## Specifies that Mozilla/Firefox should use style attributes or not. When enabled, Mozilla/Firefox use span tags with style attributes rather than tags such as b, i, font, etc.
    useCSS = 0

        ## Disable enter key for new paragraphs creation
    disableEnterParagraphs = 0

        ## Remove trailing BR if any
    removeTrailingBR = 1
}

    ## Frontend RTE configuration
RTE.default.FE < RTE.default

    ## Full screen for bodytext (tt_content)
TCEFORM.tt_content.bodytext.RTEfullScreenWidth= 100%

4 个答案:

答案 0 :(得分:0)

必须在扩展管理器中启用RTE中图像的使用。导航到扩展管理器,选择扩展名“RTE”,单击配置按钮并选中“启用图像”框。

答案 1 :(得分:0)

将以下代码添加到根页的TSConfig中:

RTE.default.toolbarOrder := addToList(image)

答案 2 :(得分:0)

在Page TSconfig:

中尝试此操作
RTE.default.showButtons = blockstylelabel, blockstyle, textstylelabel, textstyle
RTE.default.showButtons := addToList(formatblock, bold, italic, subscript, superscript)
RTE.default.showButtons := addToList(orderedlist, unorderedlist, outdent, indent)
RTE.default.showButtons := addToList(insertcharacter, link,image, findreplace, chMode, removeformat, undo, redo)
RTE.default.showButtons := addToList(toggleborders, tableproperties)
RTE.default.showButtons := addToList(rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit)
RTE.default.showButtons := addToList(columninsertbefore, columninsertafter, columndelete, columnsplit)
RTE.default.showButtons := addToList(cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge)
RTE.default.showButtons := addToList(left, center, right, justifyfull,table)

您需要启用的图像在Extension Manager中打开htmlAREA RTE的配置并启用basic.enableImages。

干杯!

答案 3 :(得分:0)

使用&#34; showButtons&#34;:

RTE.default {
    showButtons (
        blockstylelabel, blockstyle, space, textstylelabel, textstyle,
        formattext, bold,  strong, italic, emphasis, big, small, insertedtext, deletedtext, citation, code, definition, keyboard, monospaced, quotation, sample, variable, bidioverride, subscript, superscript, span,
        fontstyle, space, fontsize, 
        formatblock, blockquote, insertparagraphbefore, insertparagraphafter, 
        left, center, right, justifyfull, 
        orderedlist, unorderedlist, definitionlist, definitionitem, outdent, indent, 
        textcolor, bgcolor, textindicator, 
        editelement, showmicrodata, emoticon, insertcharacter, line, link, unlink, image, user, acronym, 
        findreplace,
        chMode, inserttag, removeformat, 
        copy, cut, paste, pastetoggle, pastebehaviour, 
        undo, redo, 
        table, toggleborders, 
        tableproperties, tablerestyle, 
        rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, 
        columnproperties, columninsertbefore, columninsertafter, columndelete, columnsplit, 
        cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge
    )
}