Bug #88858

Richtext configuration set in a flexform gets overwritten by RTE.default.preset

Added by Jan Kornblum about 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2019-07-30
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

A richtext configuration is set in a flexform (attached to pi_flexform) field:

<settings.anyRichtextField>
    <exclude>1</exclude>
    <label>Custom RTE enabled field</label>
    <config>
        <type>text</type>
        <rows>5</rows>
        <cols>30</cols>
        <eval>trim,required</eval>
        <enableRichtext>1</enableRichtext>
        <richtextConfiguration>custom_config</richtextConfiguration>
    </config>
</settings.anyRichtextField>

As long as no global RTE preset is set anywhere else, the configuration is loaded fine. But as soon as...

RTE.default.preset = minimal

...is set anywhere else, the per-flexform-field rte configuration gets ignored. Also, it is not possible to explicitly set the preset by tsconfig like this additionally...

TCEFORM.[tableName].[fieldName].[dataStructureKey].[flexSheet].[flexFieldName].[propertyName] 

...due to limitations of the "config" section mentioned here: https://docs.typo3.org/m/typo3/reference-tsconfig/master/en-us/PageTsconfig/TceForm.html

History

#1 Updated by Jan Kornblum about 2 months ago

  • Description updated (diff)
  • Category changed from FormEngine aka TCEforms to RTE (rtehtmlarea + ckeditor)

Also available in: Atom PDF