Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after 3.7.2: cannot read properties of undefined (reading 'registerChildCommand') #161

Closed
thomascoppein opened this issue Feb 8, 2024 · 6 comments
Labels

Comments

@thomascoppein
Copy link

Description

After updating to 3.7.2 all the CKEditor fields are gone, only the label is visible. In console there is an error:
TypeError: Cannot read properties of undefined (reading 'registerChildCommand') at indentBlock.js:89:23.

Steps to reproduce

  1. Update CKEditor to 3.7.2
  2. Open entry with CKEditor fields

Additional info

  • Craft version: 4.7.2
  • PHP version: 8.2
  • Database driver & version: mysql
  • Plugins & versions: matrixmate (2.1.4), super-table (3.0.12)
@garethjohnsdesign
Copy link

Yes I had the same issue here, rolling back to 3.7.1 fixes this but the data was lost for some reason at least in Matrix blocks.

@Antimated
Copy link

Yep same issue getting this error in the console

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'registerChildCommand') at $a.afterInit (indentblock.js:89:23)

Points to this:
Screenshot 2024-02-08 at 12 05 50

@i-just
Copy link
Contributor

i-just commented Feb 8, 2024

Hi All, thanks for reporting! We fixed it this morning, but it has not yet been released. We'll update this issue as soon as the release is out!

@kevinmu17
Copy link

kevinmu17 commented Feb 8, 2024

same here, all the editor fields showing   without any sign of working editor.

It has something to do with the documentListPlugin

[plugin-obsolete-documentlistproperties](https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-plugin-obsolete-documentlistproperties)
The DocumentListProperties plugin is obsolete. Use ListProperties instead.

This settings is completely missing
Screenshot 2024-02-08 at 12 10 29

@brandonkelly
Copy link
Member

Sorry all. 3.7.3 is tagged now with the fix.

@brandonkelly
Copy link
Member

@kevinmu17 That setting was removed in 3.7.0 (see #148).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants