custom Extention with multiple RTE (text) but different configuration

33 views Asked by At

in tables.sql i define

teaser text, highlights text, description text, producttable text,

in TCA I configure this:

    'teaser' => [
        'l10n_mode' => 'prefixLangTitle',
            'exclude' => true,
            'label' => 'teaser',
            'config' => [
                'type' => 'text',
                'enableRichtext' => true,
                'richtextConfiguration' => 'myDefaultConfig',
                'fieldControl' => [
                    'fullScreenRichtext' => [
                        'disabled' => false,
                    ],
                ],
                'cols' => 40,
                'rows' => 15,
                'eval' => 'trim',
            ],
    ],

For highlights, description, producttable I simply copy this lines and change name/label. In BE all is fine, except the RTE configuration is correct only for the first field (teaser -> 'richtextConfiguration' => 'myDefaultConfig'), all following fields show the minimal configuration from EXT:rte_ckeditor

I user typo3 V10.40 - any ideas?

0

There are 0 answers