[BUGFIX] Correct registration of toolbar link buttons in CKEditor 5
The CKEditor 5 has very limited support for managing links. By default, you only get a simple input field for a string. To bring the known and loved easy-to-use LinkBrowser to CKEditor 5 we need to overwrite the existing linking capabilities. For developers and integrators, this overwrite should be invisible as it was before with the CKEditor 4 integration. Instead of teaching the users that they need to load custom modules to change the link behavior, we are already migrating this in the background for them. A typical developer can just follow the CKEditor 5 guide to configuring the editor to its needs and the Core is already doing the adjustments and replacements of modules for them. We currently overwrite the existing link and unlink commands, but we register the toolbar buttons with a prefix. This makes existing CKEditor configurations incompatible since the linking buttons are missing in the toolbar. To make migrations easier we a...
Showing
- Build/Sources/TypeScript/rte_ckeditor/ckeditor5.ts 1 addition, 1 deletionBuild/Sources/TypeScript/rte_ckeditor/ckeditor5.ts
- Build/Sources/TypeScript/rte_ckeditor/plugin/typo3-link.ts 2 additions, 2 deletionsBuild/Sources/TypeScript/rte_ckeditor/plugin/typo3-link.ts
- typo3/sysext/rte_ckeditor/Configuration/RTE/Default.yaml 2 additions, 2 deletionstypo3/sysext/rte_ckeditor/Configuration/RTE/Default.yaml
- typo3/sysext/rte_ckeditor/Configuration/RTE/Full.yaml 2 additions, 1 deletiontypo3/sysext/rte_ckeditor/Configuration/RTE/Full.yaml
- typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/ckeditor5.js 1 addition, 1 deletion...ext/rte_ckeditor/Resources/Public/JavaScript/ckeditor5.js
- typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/plugin/typo3-link.js 1 addition, 1 deletion...ckeditor/Resources/Public/JavaScript/plugin/typo3-link.js
Please register or sign in to comment