Task #81882
closedckeditor configuration: Allow to override presets with PageTSConfig
100%
Description
For the RTE editor configuration, allow to override presets chosen via TSconfig
In my use case, I would like to- Use field specific RTE configurations for custom content elements
- For all RTEs: Allow admin users to switch to HTML mode
A simplified example:
# Select minimal preset for tt_content.bodytext for CType text RTE.config.tt_content.bodytext.types.text.preset = minimal # Override a setting on top of the preset RTE.editor.config.width = 200
Right now, the editor will show at full width, as defined in the preset.
In typo3/sysext/core/Classes/Configuration/Richtext.php:106
there is a comment
// Reload the base configuration, if overridden via PageTS "RTE.default.preset = Minimal" for instance // However, if a preset is chosen via TSconfig, then it is not possible to override anything else again
Updated by Hannes Lau over 7 years ago
- Related to Bug #81381: RTE TSConfig is lost when using own CKEditor preset added
Updated by Gerrit Code Review over 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53531
Updated by Gerrit Code Review over 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53531
Updated by Hannes Lau over 7 years ago
- Related to Bug #81880: ckeditor: Editor configuration cannot be overridden via PageTS added
Updated by Hannes Lau over 7 years ago
We might first have to fix #81880 to be able to set editor configuration via PageTS at all. Then, in a second step, we can solve this issue and allow to override presets via PageTS. The attached patch set https://review.typo3.org/53531 is built on top of #81880 and needs to be rebased once #81880 gets merged.
Alternatively, we could abandon #81880 and use this patch to solve both issues at the same time.
Also, we have to clarify, if this is a breaking change. People might already on the fact that presets override all PageTS configuration.
Updated by Gerrit Code Review over 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53531
Updated by Gerrit Code Review over 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53531
Updated by Gerrit Code Review over 7 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53531
Updated by Gerrit Code Review over 7 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53531
Updated by Gerrit Code Review over 7 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53531
Updated by Gerrit Code Review over 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53706
Updated by Hannes Lau over 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a5fccf8879b6507d5e94a67a73566ce8a3430506.