-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Using non-vue html constructor in custom node #740
Comments
Sorry forgot to mention that the constructor is used for a prossemirror custom node! |
I rewrote this extension for image resizing as vue component.. I will close this issue now.. |
That sounds great! Can you share what you've written? Thanks @mvind! |
Sure! Here is a link to a gist with the vue component |
@mvind I basically did the same, how to you handle active state? It's done by |
Hello,
I'm currently prototyping a custom image node so you can resize the image. I found this snippet for a constructor which creates a span and inside that an image.
from this guy here https://glitch.com/edit/#!/toothsome-shoemaker?path=index.js%3A127%3A6.
Is it possible to use this constructor inside the custom node?
I have tried to
But then I get that the node is not defined. Do anyone know if you have to use a vue component in this view getter - or if I can somehow use this constructor?
Thanks for reading.
The text was updated successfully, but these errors were encountered: