benjaminkott / bootstrap_package

Bootstrap Package delivers a full configured theme for TYPO3, based on the Bootstrap CSS Framework.
https://www.bootstrap-package.com/
MIT License
338 stars 205 forks source link

RTE config "extraPlugins" #1463

Open SventB opened 10 months ago

SventB commented 10 months ago

Bug Report

Prerequisites

Description

All plugins for RTE (bootstrappackage_address, bootstrappackage_box, ...) not showing up in RTE any more. I guess because of new CKEditor version:

TYPO3 v12 ships with CKEditor 5, which is a completely new, rewritten editor compared to CKEditor 4 which was shipped since TYPO3 v8.

In TYPO3 v11 with EXT:bootstrap_package v12 it works.

It seems, configuration should be something like that?

    importModules:
      - { module: '@typo3/rte-ckeditor/plugin/whitespace.js', exports: [ 'Whitespace' ] }

Configuration option "toolbarGroups" is also deprecated, you should use "toolbar" now, e.g.:

editor:
    config:
        toolbar:
            items:
                - heading
                - style
                - '|'
                - bold
                - italic
jv-etailors commented 5 months ago

This is also migrating from plain javascript plugins to typescript plugins. They will need to be re-written from scratch according to the migration docs.

In my opinion the choice is to drop support for these plugins in TYPO3 V12 and remove them from the source or to rewrite them and once rewritten drop support for TYPO3 V11.