Closed nicolasvahidzein closed 5 years ago
i was able to find the culprit, it's this line:
if (this.$listeners.input) {
this.editor.on('change', () => {
this.$emit('input', this.editor.getValue());
});
}
$listeners is referenced nowhere in the project, isn't this a problem?
@nicolasvahidzein $listeners
is supported in Vue version 2.4. (https://vuejs.org/v2/api/#vm-listeners) Please check your Vue version.
I'm running 2.8.2 but it's throughing an error. Do i need to do something for it to work?
Right now i uncomment that whole portion of code, will it make the module unstable or not working? How can i did deeper? I do have the right version.
If you do not use v-model
, input
is undefined. I didn't think it makes error. Maybe something of your dependencies catch it as error. Please share your dependencies or other environment to analyze this issue.
would you like the package file? I am using vmodel, but it's not working at all, it's not dynamic, not updating the variable. I had to access the instance on editor change which is kind of hacky to me. How do you do it? Also i opened another ticket that asked how to switch from the editor to the viewer. It's very important, thanks.
@nicolasvahidzein Sorry for late reply. Do you still have this issue? If not, please close this issue.
This issue is old so close it.
hello,
when i load the component i get this error:
I even tried commenting out some of the input statements i found inside the node modules in the folder @toast-ui/vue-editor but it is not affecting the code, everything is working as if the Editor.vue file is being loaded from somewhere else on my pc. It is very strange.