Bug #100784
closedEpic #99669: CKEditor5 Collection
CKEditor 5 - Configuration of custom CKeditor 5 plugin via RTE.editor.config.{customPlugin} not possible
Added by Reto Gehrig over 1 year ago. Updated 5 months ago.
100%
Description
The configuration of own plugins for the CKeditor 5 via the TSConfig RTE.editor.config.{customer plugin} is not possible.
According to the current CKEditor5Element class, only the following options are adopted -> alignment, headings, style, table, toolbar, wordCount.
From my point of view it would be an advantage if this would be possible for own CKeditor 5 plugins. Or have I overlooked because what?
Files
javascript_exemple.png (104 KB) javascript_exemple.png | Javascript Module | Reto Gehrig, 2023-05-02 09:58 | |
yaml_exemple.png (163 KB) yaml_exemple.png | YAML Integration and Configuration | Reto Gehrig, 2023-05-02 09:58 |
Updated by Oliver Hader over 1 year ago
- Status changed from New to Needs Feedback
Using the YAML configuration, it is possible to inject custom plugins as ES6 modules, e.g. like this:
editor: importModules: - '@my-vendor/my-package/timestamp-plugin.js'
The configuration for using importMaps
to load custom modules is documented at https://docs.typo3.org/c/typo3/cms-core/main/en-us//Changelog/12.0/Feature-96510-InfrastructureForJavaScriptModulesAndImportmaps.html and configured in EXT:my_extension/Configuration/JavaScriptModules.php
Updated by Reto Gehrig over 1 year ago
- File javascript_exemple.png javascript_exemple.png added
- File yaml_exemple.png yaml_exemple.png added
That's clear to me, it's not about integrating a plugin, but about configuration via YAML or TS configuration. See my exemple files
Updated by Oliver Hader over 1 year ago
- Tracker changed from Task to Bug
- Status changed from Needs Feedback to Accepted
Thx, Gotcha!
https://github.com/TYPO3/typo3/blob/f7751e8bc0aababd4041f79b6fa7547c3e57e90e/Build/Sources/TypeScript/rte_ckeditor/ckeditor5.ts#L104-L130 only forwards specific configuration keys.
To solve this, either a the new editor.config.settings.myExtensionButtons
(new settings
section) could be introduced, or all remaining keys of editor.config
might be forwarded (later would allow to used all other editor config properties as well, see https://ckeditor.com/docs/ckeditor5/latest/api/module_core_editor_editorconfig-EditorConfig.html#member-users).
Updated by Oliver Hader over 1 year ago
- Has duplicate Bug #99535: Ckeditor5 htmlSupport added
Updated by Oliver Hader over 1 year ago
I've added several issues that are integrating additional/forgotten features with the own configuration scope in editor.config
. Seems like forwarding all unhandled keys would be the more flexible approach, and avoids adjusting ckeditor5.ts
again and again.
Updated by Oliver Hader over 1 year ago
- Status changed from Accepted to On Hold
The generic option needs further clarification, thus it's on hold for the time being.
Updated by Benni Mack over 1 year ago
- Target version changed from 12 LTS to Candidate for patchlevel
Updated by Benjamin Franzke over 1 year ago
- Related to Bug #101437: rte_ckeditor externalPlugins with resource configuration doesn't work added
Updated by Georg Tiefenbrunn about 1 year ago
- Related to Bug #101869: CKEditor5: Pass full yaml editor configuration to CKEditor5 added
Updated by Benni Mack about 1 year ago
- Subject changed from CKEditor 5 - Configuration of customer CKeditor 5 plugin via RTE.editor.config.{customer Plugin} not possible to CKEditor 5 - Configuration of custom CKeditor 5 plugin via RTE.editor.config.{customer Plugin} not possible
Updated by Benjamin Franzke about 1 year ago
- Subject changed from CKEditor 5 - Configuration of custom CKeditor 5 plugin via RTE.editor.config.{customer Plugin} not possible to CKEditor 5 - Configuration of custom CKeditor 5 plugin via RTE.editor.config.{customPlugin} not possible
Updated by Gerrit Code Review about 1 year ago
- Status changed from On Hold to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81381
Updated by Gerrit Code Review about 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81381
Updated by Gerrit Code Review about 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81388
Updated by Anonymous about 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 50 to 100
Applied in changeset bd5a93e1c7576b40de34025b8195c2ca844eaf88.
Updated by Oliver Hader about 1 year ago
- Related to Bug #102136: Revert: Enable configuration passthrough for custom CKEditor5 plugins added
Updated by Oliver Hader about 1 year ago
- Status changed from Resolved to Accepted
Updated by Oliver Hader about 1 year ago
Reopened due to regression → see #102136
Updated by Gerrit Code Review about 1 year ago
- Status changed from Accepted to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81406
Updated by Gerrit Code Review about 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81406
Updated by Christian Kuhn about 1 year ago
- Related to Bug #102096: CKEditor5 - Wrong id in custom element `typo3-rte-ckeditor-ckeditor5` when textfield have name with dot (.) added
Updated by Gerrit Code Review about 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81535
Updated by Gerrit Code Review about 1 year ago
Patch set 2 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81535
Updated by Anonymous about 1 year ago
- Status changed from Under Review to Resolved
Applied in changeset 34384bb8614d8c914063ca20adb32315d9b48902.