Project

General

Profile

Actions

Bug #83809

closed

ckeditor: custom config not loaded in flexform / problem determining pid

Added by Andreas Kiessling about 6 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2018-02-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
ckeditor, flexform
Complexity:
Is Regression:
Sprint Focus:

Description

When a new preset is configured with "RTE.default.preset = myCustomPreset", any "default" RTE should receive the myCustomPreset instead.
The merging / overlaying in \TYPO3\CMS\Core\Configuration\Richtext::getConfiguration relies on the pid to determine the custom config to load.
But somehow, in a flexform context, the pid is 0, thus the default config will be loaded.

I managed to work around this problem in my case by putting the config in the ext_localconf.php and registering it via \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig, but this only works, if you don't need to switch the default e.g. on multitree / multidomain setups.


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #81748: custom yaml not loaded in flexform field for cke editorClosed2017-06-29

Actions
Actions

Also available in: Atom PDF