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
Single File vue Component example #81
Comments
Hey @panayotisk! You can already do that. import { Node } from 'tiptap'
import CustomComponent from './CustomComponent.vue'
export default class CustomNode extends Node {
get name() {
return 'custom_node'
}
get view() {
return CustomComponent
}
} |
@philippkuehn is there also a way to set the SFC component's parent? I need to access the vuex store and it would also be helpful to see its properties in chrome dev tools as is suggested here: buefy/buefy#55 (comment) |
A good point. Didn't know that! |
I added this |
Great! Thank you for that. |
Is it possible to have an example of using our ready SFCs when creating out extensions? I saw the Iframe sample and I was wondering how to do something like it using an SFC.
The text was updated successfully, but these errors were encountered: