Actions
Bug #102595
openNot possible to override richtextConfiguration via TSconfig if in a flexform
Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2023-12-04
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Normally, overriding settings in Flexform via TSconfig is possibe, for example like this:
# TCEFORM.[tableName].[fieldName].[dataStructureKey].[flexSheet].[flexFieldName with escaped dots].[propertyName] TCEFORM.tt_content.pi_flexform.sfregister_create.sDEF.settings\.fields\.selected.addItems.ZZZ = ZZZ
see https://docs.typo3.org/m/typo3/reference-tsconfig/main/en-us/PageTsconfig/TceForm.html
But this does not seem to work with the richtextConfiguration if in a Flexform which would then be overridden with RTE, for example like this:
RTE.config.tx_news_domain_model_news.bodytext.preset = otherpreset
For a Flexform field, it should look for example like this:
RTE.config.tt_content.pi_flexform.powermail_pi1.thx.settings\.flexform\.thx\.body.preset = otherpreset
but this does not work.
Updated by Garvin Hicking 7 months ago
- Related to Bug #103532: Using TSconfig TCEFORM to change existing flexform field configuration does not work added
Updated by Georg Ringer 4 months ago
- Status changed from New to Accepted
can be tested with
RTE.config.tx_styleguide_elements_rte.pi_flexform.rte_flex_1.rte_1.preset = full RTE.config.tx_styleguide_elements_rte.pi_flexform.rte_flex_1.rte\.2.preset = full
in styleguide: doesn't work for rte.2
rte
Actions