-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
editable property is not working with Node(Vue component) #223
Comments
I removed the |
Spent an hour debugging this 🚬 Good thing I stumbled upon this. Was already wondering if my computed property abuse got the best of me 💃 If you wouldn't mind, please update the Iframe example for future reference. ❤️ |
@techouse Ah thanks! Fixed it! |
Did this change? It doesn't work with As an aside: |
@A-d-o-n-i-s non of for aside: you can define a prop like editable for your tiptap wrapper component and watch it with vue watchers and use setOptions method on your editor instance to change editable option. {
props : {
editable : {
default : true
}
},
watch : {
editable(value){
this.editor.setOptions({editable : value})
}
},
data(){
return {
editor : new Editor({})
}
}
} |
The text was updated successfully, but these errors were encountered: