Problem/Motivation

I updated ckeditor5_template from 1.0.5 to 1.0.6 in D10.2.7.
I got this error, "TypeError: e.ViewModel is not a constructor" in my browser console and 1.0.6 breaks CKeditor5 textarea (see the screenshot).

Steps to reproduce

Update ckeditor5_template version 1.0.6 in Drupal core version 10.2.7.

CommentFileSizeAuthor
Screenshot 2024-06-26 at 3.06.10 PM.png26.31 KBparkh

Comments

parkh created an issue. See original summary.

rex.barkdoll’s picture

Yeah, I'm getting this too. One of our sites is being held back due to another module, but upgrading to 1.0.6 breaks Drupal 10.2.7.

This relates to the update that was pushed out from this ticket. https://www.drupal.org/project/ckeditor5_template/issues/3456952

If I require this module to stay at 1.0.5, everything works on 10.2.7

parkh’s picture

I think 1.0.6 should specify core_version_requirement in info.yml if 1.0.6 works in D10.3 with no issue.

  • vincent.hoehn committed 097279ac on 1.0.x
    git commit -m 'Issue #3457415: Updating 1.0.6 in D10.2.7 breaks CKEditor'
vincent.hoehn’s picture

Version: 1.0.6 » 1.0.7
Status: Active » Fixed

Hello everyone. I hadn't thought of that, sorry!
I have published a new release. The 1.0.7 can now only be installed on Drupal >10.3 sites.

All others should stay on 1.0.5.

BR
Vincent

parkh’s picture

works for me. thank you so much for a quick update.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

abhishek@kumar’s picture

Downgrade package to 2.0.0-alpha3(ckeditor_templates_ui)

Downgraded from 2.0.0-alpha4 to 2.0.0-alpha3 because alpha3 works better for my project.