-
Notifications
You must be signed in to change notification settings - Fork 77
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
TypeError: Cannot read properties of undefined (reading 'model') #203
Comments
it also happens to me, try [email protected] if you using Vue 3 |
I'm using Vue 3.2.31. Should I downgrade to 3.2.30 ? |
Still the same error after downgrade |
@ThomasLaigneauDecathlon idk if this will help but try to delete the node_modules & package-lock and npm i [email protected] && npm install |
Thank @O-Hooman , downgrading to |
same problem for me when going from vue 3.2.30 to 3.2.31 |
same problem here wat happen? |
Hi, thanks for the report. I can confirm I get this error also on node Error message: TypeError: Cannot read properties of undefined (reading 'model')
at Proxy.$_setUpEditorEvents (ckeditor.js?3730:5:1)
at eval (ckeditor.js?3730:5:1) |
Refer to Vue 3 (source code):
So, why do the CKEditor maintainers use “$“ as property prefix? It's obviously unnecessary. Source code: https://github.com/ckeditor/ckeditor5-vue/blob/v2.0.1/src/ckeditor.js#L52 |
I encountered the same error. Downgrading to [email protected] solved it for me. Thanks guys ! |
Thank you for the hints. It looks like this bug is caused by the changes between 3.2.30 and 3.2.31 in Vue and maybe it will be fixed in the next version of Vue, according to the comment: vuejs/core#5492 (comment). However, this issue can be fixed also in the CKEditor5 Vue component by using the |
Fix: Marked the editor instance `this.instance` as a raw object so that it will never be converted to a proxy. Closes #203. Internal: Renamed the internal properties and methods: `$_instance` -> `instance`, `$_lastEditorData` -> `lastEditorData` and `$_setUpEditorEvents()` -> `setUpEditorEvents()`.
A new version of the Vue integration is released. 👉 https://github.com/ckeditor/ckeditor5-vue/releases/tag/v3.0.0 |
Hi,
When I update my project node version to Node 16, my Ckeditor is not working anymore. It's displaying good but any modification won't be taken.
I see this error in my chrome console :
It seems to be related with the vue component and this.$_instance seems to be undefined.
Any idea ?
The text was updated successfully, but these errors were encountered: