CKEditorError: Cannot read properties of null (reading 'set')

Created on 22 October 2024, 5 months ago

Problem/Motivation

Once you edit the embedded entity then console starts throwing

CKEditorError: Cannot read properties of null (reading 'set')

Steps to reproduce

  1. Create new content and click on E button using Full HTML filter format or any other in which Entity Embed button is included in the available button toolbar for ckeditor5.
  2. Modal will pop-up then select existing content and proceed choosing with label or entity id on the next page.
  3. Selected data will appear in the editor, now click on edit of the embedded entity.
  4. Choose another value from dropdown i.e full content to display, you will notice the console error.
  5. Previous selected entity data will remains same.

Attaching the screenshot for your reference.

🐛 Bug report
Status

Active

Version

1.0

Component

CKEditor integration

Created by

🇮🇳India ankitv18

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

Comments & Activities

  • Issue created by @ankitv18
  • 🇵🇭Philippines gslente

    Hello @ankitv18.

    Tested the issue on a separate local environment using the steps you mentioned.
    Was unable to reproduce the issue on my local environment.
    Are there any extra steps that need to be performed to replicate the issue?

  • 🇮🇳India ankitv18

    Hi @gslente,
    I've updated the steps to reproduce. Plan is to make entity_embed D11 compatible.

  • 🇺🇸United States loze Los Angeles

    This is happening for me too, clicking on the edit (pencil icon) opens the dialog and throws the js error. Any edits made in that dialog are not saved.

Production build 0.71.5 2024