Uncaught TypeError when closing Element edit

Created on 30 May 2023, about 1 year ago
Updated 13 September 2023, 10 months ago

Problem/Motivation

When closing the element editor for an element whose settings use ckeditor, an error is thrown in the console when clicking the X to close the Edit element dialog. The element is saved as expected.

Seen on Chrome, Drupal 9.59, PHP 8.1.14, Webform 6.1.4

ckeditor.js?v=4.21.0:121 Uncaught TypeError: Cannot read properties of null (reading 'document')
    at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.element.getFrameDocument (ckeditor.js?v=4.21.0:121:404)
    at d (ckeditor.js?v=4.21.0:1222:296)
    at MutationObserver.<anonymous> (ckeditor.js?v=4.21.0:1222:129)

Steps to reproduce

Create a markup element. Save it. Edit it. Close the Edit element dialog by clicking the X. Check the console for the error.

πŸ› Bug report
Status

Closed: won't fix

Version

6.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States awolfey

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

Comments & Activities

Production build 0.69.0 2024