-
Notifications
You must be signed in to change notification settings - Fork 106
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
Compatibility with Vue.js 2.0 #14
Comments
After fixing some issues with my setup, this turned out to be something else.
|
You need to migrate some stuff too. Like rename ready to mounted. |
Hi @ninmesara , did you manage to get this to work with 2.0? |
I ended up forking it and making a private version with more customization options. My version uses single file components (in order to be compatible with the new version of vuejs's default runtime) and uses the v-model directive, which is the standard way of handling input in vuejs 2.0. I'll submit a pull request when I have the time. |
@ninmesara Could you maybe share the forked version with us? Love to see it |
Yep, please share the repo! I would need it as well |
Yeah @ninmesara Hi want that too! |
@ninmesara Any updates on this? |
Nope lol |
+1... Here is some helpful references:
|
I tried to fix this issues, and created a pull request #16. |
Some expectations with @tooppoo PR will be accepted? |
@ninmesara Can you share it? |
If someone wants, works in v2:
Html:
|
@ninmesara I received your email, thank you for your sharing, can become the friend with you? |
@renatoneri your code works, thanks! but my the editor only appear after some key be pressed inside the textarea. Some idea why this is happening? |
Humm... I'll try to change that after. If that don't work, verify if you loaded summernote.js before my script. Sorry for my bad english. |
You can take a look at my solution. Works perfectly with vue 2. link |
@anselmobattisti where you able to get the version from @renatoneri to work fully? I am having the same issue as you, in that the editor only renders once a key has been pressed in the textarea. |
I have rewritten to work on init: seems to work fine. `<script>
};
|
Is
vue-html-editor
compatible with Vue.js 2.0? I'm using Vue.js 2.0 and I'm getting the following error:The text was updated successfully, but these errors were encountered: