Project

General

Profile

Actions

Bug #70223

closed

Story #69617: FormEngine bugs

TCA defaultExtras not working for RTE config

Added by Gone With the Wind over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2015-09-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
TCA, RTE
Complexity:
Is Regression:
No
Sprint Focus:
Remote Sprint

Description

When creating a RTE textfield in the TCA in TYPO3 7.5, the use of "defaultExtras" to define some RTE buttons does not work. The RTE configuration is not changed at all.

Sample TCA:

[...]
'teaser' => array(
    'exclude' => 1,
    'label' => 'LLL:EXT:compositions/Resources/Private/Language/locallang_db.xlf:tx_compositions_domain_model_compositions.teaser',
    'config' => array(
        'type' => 'text',
        'cols' => 40,
        'rows' => 5,
        'eval' => 'trim',
        'wizards' => array(
            'RTE' => array(
                'icon' => 'wizard_rte2.gif',
                'notNewRecords' => 1,
                'RTEonly' => 1,
                'module' => array(
                    'name' => 'wizard_rich_text_editor',
                    'urlParameters' => array(
                        'mode' => 'wizard',
                        'act' => 'wizard_rte.php'
                    )
                ),
                'title' => 'LLL:EXT:cms/locallang_ttc.xlf:bodytext.W.RTE',
                'type' => 'script'
            )
        )
    ),
    'defaultExtras' => 'richtext[strong,emphasis,underline,cut,copy,paste]]',
[...]
),

Changing the RTE settings from Typical to Demo and back won't change anything.
It used to work in TYPO3 4.5 and TYPO3 6.2.

The wizard implementation respects the breaking changes.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #66803: RTE defaultExtras doesn’t work in IRRE mode Closed2015-05-05

Actions
Actions

Also available in: Atom PDF