TYPO3 Logo
TYPO3 Core Changelog
Options
Give feedback View source How to edit Edit on GitHub Full documentation (single file)

TYPO3 Core Changelog

  • ChangeLog v14
    • 14.0 Changes
    • 14.x Changes by type
  • ChangeLog v13
    • 13.4.x Changes
    • 13.4 Changes
    • 13.3 Changes
    • 13.2 Changes
    • 13.1 Changes
    • 13.0 Changes
    • 13.x Changes by type
  • ChangeLog v12
    • 12.4.x Changes
    • 12.4 Changes
    • 12.3 Changes
    • 12.2 Changes
    • 12.1 Changes
    • 12.0 Changes
    • 12.x Changes by type
  • ChangeLog v11
    • 11.5.x Changes
    • 11.5 Changes
    • 11.4 Changes
    • 11.3 Changes
    • 11.2 Changes
    • 11.1 Changes
    • 11.0 Changes
    • 11.x Changes by type
  • ChangeLog v10
    • 10.4.x Changes
    • 10.4 Changes
    • 10.3 Changes
    • 10.2 Changes
    • 10.1 Changes
    • 10.0 Changes
    • 10.x Changes by type
  • ChangeLog v9
    • 9.5.x Changes
    • 9.5 Changes
    • 9.4 Changes
    • 9.3 Changes
    • 9.2 Changes
    • 9.1 Changes
    • 9.0 Changes
    • 9.x Changes by type
  • ChangeLog v8
    • 8.7.x Changes
    • 8.7 Changes
    • 8.6 Changes
    • 8.5 Changes
    • 8.4 Changes
    • 8.3 Changes
    • 8.2 Changes
    • 8.1 Changes
    • 8.0 Changes
    • 8.x Changes by type
  • ChangeLog v7
    • 7.6.x Changes
    • 7.6 Changes
    • 7.5 Changes
    • 7.4 Changes
    • 7.3 Changes
    • 7.2 Changes
    • 7.1 Changes
    • 7.0 Changes
    • 7.x Changes by type
  • Documenting Changes
  • Sitemap
  1. TYPO3 Core Changelog
  2. ChangeLog v12
  3. 12.0 Changes
  4. Breaking: #96874 - CKEditor-related plugins and configuration
Give feedback Edit on GitHub

Breaking: #96874 - CKEditor-related plugins and configuration

See forge#96874

Description

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

Any kind of plugin, which was written for CKEditor4 is not compatible anymore.

In addition, since CKEditor 5 does not grant HTML input the same way as before.

Impact

Any plugin in CKEditor will not be loaded anymore in TYPO3 v12.

It might be possible to have data loss when editing and saving data, especially since some configuration formats have been changed.

Affected installations

TYPO3 installations with custom extensions extending CKEditor with plugins, or relying on a specific logic to save data with specific contents (such as additional allowed HTML tags).

Migration

In general, it is advised to read the CKEditor 4 to 5 migration to understand the conceptual changes, also related to plugins.

Writing a custom plugin for CKEditor 5 can be done in TypeScript or JavaScript, using the CKEditor5 plugin system.

Example - A timestamp plugin @my-vendor/my-package/timestamp-plugin.js which adds a toolbar item to add the current timestamp into the editor.

import { Plugin } from '@ckeditor/ckeditor5-core';
import { ButtonView } from '@ckeditor/ckeditor5-ui';

export class Timestamp extends Plugin {
  static pluginName = 'Timestamp';

  init() {
    const editor = this.editor;

    // The button must be registered among the UI components of the editor
    // to be displayed in the toolbar.
    editor.ui.componentFactory.add(Timestamp.pluginName, () => {
      // The button will be an instance of ButtonView.
      const button = new ButtonView();

      button.set({
        label: 'Timestamp',
        withText: true
      });

      // Execute a callback function when the button is clicked
      button.on('execute', () => {
        const now = new Date();

        // Change the model using the model writer
        editor.model.change(writer => {

          // Insert the text at the user's current position
          editor.model.insertContent(writer.createText(now.toString()));
        });
      });

      return button;
    });
  }
}
Copied!

In the RTE configuration, this then needs to be added like this:

editor:
  config:
    importModules:
      - { module: '@my-vendor/my-package/timestamp-plugin.js', exports: ['Timestamp'] }
    toolbar:
      items:
        - bold
        - italic
        - '|'
        - clipboard
        - undo
        - redo
        - '|'
        - timestamp
Copied!
  • Previous
  • Next
Reference to the headline

Copy and freely share the link

This link target has no permanent anchor assigned. You can make a pull request on GitHub to suggest an anchor. The link below can be used, but is prone to change if the page gets moved.

Copy this link into your TYPO3 manual.

  • Home
  • Contact
  • Issues
  • Repository

Last rendered: May 07, 2025 12:11

© since 1997 by the TYPO3 contributors
  • Legal Notice
  • Privacy Policy