EBMS Tickets

Issue Number 791
Summary Drupal 10.1 upgrade breaks wysiwyg editor
Created 2023-06-23 15:06:24
Issue Type Inquiry
Submitted By Kline, Bob (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2023-06-26 09:13:32
Resolution Fixed
Path /home/bkline/backups/jira/oceebms/issue.349516
Description

The ckeditor5 fields (e.g., meeting agenda) have lost their toolbar and are displaying the raw HTML markup. The JavaScript console displays an error for each field:

TypeError: Cannot read properties of null (reading 'extendTemplate')
    at s._changeFormToVertical (editorAdvancedLink.js?v=10.1.0:1:3968)
    at s.init (editorAdvancedLink.js?v=10.1.0:1:3734)

I have reported this to the ckeditor5 maintainers, and I'm doing whatever investigation I can do myself.

Comment entered 2023-06-23 16:46:21 by Kline, Bob (NIH/NCI) [C]

Here's the bug: https://www.drupal.org/project/editor_advanced_link/issues/3350254

They have a patch which has been marked Reviewed & tested by the community (I've tested it successfully myself) so I expect relief is on the way soon.

Comment entered 2023-06-26 09:13:32 by Kline, Bob (NIH/NCI) [C]
Comment entered 2023-07-13 15:35:16 by Shields, Victoria (NIH/NCI) [E]

Anything specific I should be looking for to check this?

Comment entered 2023-07-13 16:03:19 by Kline, Bob (NIH/NCI) [C]

As long as the editing toolbar is present for the Agenda and Notes fields, the bugs I ran into are fixed.

Comment entered 2023-07-18 10:25:36 by Shields, Victoria (NIH/NCI) [E]

Verified on DEV.

Comment entered 2023-08-15 10:53:11 by Shields, Victoria (NIH/NCI) [E]

Verified on QA.

Comment entered 2023-09-20 18:46:46 by Shields, Victoria (NIH/NCI) [E]

Verified on PROD.

Elapsed: 0:00:00.000199