-
Notifications
You must be signed in to change notification settings - Fork 36
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
Vue 3 support #277
Comments
Anyone make any progress with this? It kinda works with 3.1 but there are errors with trying to access refs.trix for some reason.
|
I found this guy saying to add it to the compiler options, but this doesn't work with the current 3.1 with or without compabitlity mode. Looking at the source, this seems to be the problem: I believe it's because $refs isn't populated currently until after initialization (which seems stupid) Having vue return in this method instead of emitting seems to solve it; I'm not sure if anything depends on this signal or not... |
There's no update for this issue ? |
It's working great for me now on 3.1 if you edit the source after installing and have that function return
I'm not sure what the consequences of not having that event are. Also v-model isn't working with 3.x as it's changed, but you can have a function in @input that sets your local variable with the passed in value.
then in methods:
|
Any update on supporting VueJS 3.0? |
Any update? |
1 similar comment
Any update? |
I've written my own Vue3 component heavily based on this and made it public at https://gist.github.com/nomadjimbob/db6d3cdb630a931722595f9adf75ca53 Not 100% tested but a starting point
Also includes a few little helpers for creating toolbar buttons with some examples included based on some submitted over on the Trix repo |
Thanks James! 😃 |
Hey guys, are you going to add support for Vue 3?
The text was updated successfully, but these errors were encountered: