Bug #88858
Updated by Jan Kornblum over 5 years ago
A richtext configuration is set in a flexform (attached to pi_flexform) field:
<pre><code class="xml">
<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>
</code></pre>
As long as no global RTE preset is set anywhere else, the configuration is loaded fine. But as soon as...
<pre><code class="text">
RTE.default.preset = minimal
</code></pre>
...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...
<pre><code class="text">
TCEFORM.[tableName].[fieldName].[dataStructureKey].[flexSheet].[flexFieldName].[propertyName]
</code></pre>
...due to limitations of the "config" section mentioned here: https://docs.typo3.org/m/typo3/reference-tsconfig/master/en-us/PageTsconfig/TceForm.html