Problem/Motivation
For Drupal 10.3 compatibility, CKEditor Model needs to be replaced with ViewModel.
Steps to reproduce
Load a page that includes the Augmentor widget in CKEditor. Note the error message on the browser console, "TypeError: e.Model is not a constructor".
Proposed resolution
Replace CKEditor Model with ViewModel.
Remaining tasks
Implement.
User interface changes
None.
API changes
None.
Data model changes
None.
Issue fork augmentor-3457128
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
liam morlandThe merge request has a fix, though this may cause problems with backward compatibility. This is a similar issue to #3452570: CKEditor 5 41.3.1 (Drupal 10.3 beta) breaking change; we may need to do something like the fix in this issue to resolve the backward compatibility problem.
Comment #4
keiserjb commentedMine says "TypeError: t.Model is not a constructor". I think the patch resolved it.
Comment #5
eleonelI created a new release branch 1.2.x to avoid breaking existing installations.
Comment #7
eleonelComment #8
naveenvalecha