Open 6pm opened 8 years ago
I use vue.js. I want add vue model in selector, who created using jquery plugin. My code:
`div class="app" div class="wysiwyg-wrap" /div
new Vue({ el: '.app', data: { wysiwygText: 'text demo' }, created: function(){ $('.wysiwyg-wrap').trumbowyg(); } });
`
Jquery plugin trumbowyg create inside '.wysiwyg-wrap' many html elements. How to add in one of this elements v-model binding? I want type in my redactor and save result in 'wysiwygText' from vue model. Thank you for any answers!
This is not the way to do it. Instead you should:
К слову, есть русскоязычный чат, где можно получить помощь быстрее.
I use vue.js. I want add vue model in selector, who created using jquery plugin. My code:
`div class="app" div class="wysiwyg-wrap" /div
`
Jquery plugin trumbowyg create inside '.wysiwyg-wrap' many html elements. How to add in one of this elements v-model binding? I want type in my redactor and save result in 'wysiwygText' from vue model. Thank you for any answers!