Adding some ckeditor plugins throws undefined editor.widgets error

Created on 2 February 2021, about 4 years ago
Updated 27 January 2023, about 2 years ago

Problem/Motivation

When adding some native ckeditor plugins, in this case mathjax, when adding blocks the first load will look fine, as soon as you go to configure the block, the ckeditor does not appear and a JS error is thrown.

Steps to reproduce

Add a new ckeditor plugin to a text format. On a block use that new text format. The first load inside layout builder will work fine, as soon as you go back to configure the block, the ckeditor will not be displayed.

Proposed resolution

Add a check inside drupalmedia plugin.js to check for undefined editor.widgets.

🐛 Bug report
Status

Needs work

Version

9.5

Component
Media 

Last updated 2 days ago

Created by

🇨🇦Canada ebremner

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024