Incompatibilidad con Drupal 10.3.0

Created on 20 June 2024, 6 months ago
Updated 25 June 2024, 6 months ago

He actualizado un sitio a D10.3 y el CKEditor dejรณ de funcionar, en el registro de la consola aparece el siguiente error:

ckeditor5.js?sfeehl:468 TypeError: r.Model is not a constructor
    at font.js?sfeehl:5:16385
    at Object.callback (font.js?sfeehl:5:16732)
    at Vo.create (ckeditor5-dll.js?v=41.3.1:5:567323)
    at ckeditor5-dll.js?v=41.3.1:5:531205
    at Array.map (<anonymous>)
    at dt._buildItemsFromConfig (ckeditor5-dll.js?v=41.3.1:5:531113)
    at dt.fillFromConfig (ckeditor5-dll.js?v=41.3.1:5:530971)
    at r._initToolbar (editor-classic.js?v=41.3.1:4:6631)
    at r.init (editor-classic.js?v=41.3.1:4:6162)
    at editor-classic.js?v=41.3.1:4:10912

The CKEditor font plugin version seems to be incompatible with Drupal Cores version (CKEditor 5 41.3.1).

To test I replaced the content of ckeditor_font/js/ckeditor5_plugins/ckeditor5-font/build/font.js with https://www.npmjs.com/package/@ckeditor/ckeditor5-font/v/41.3.1?activeTa... version and the error disappear. So seems to be a version incompatibility.

๐Ÿ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

๐Ÿ‡จ๐Ÿ‡ทCosta Rica maxmendez

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024