I'm not sure if this is a vue.js or trix.js bug, sorry about that :)
2.1.6
<trix-editor></trix-editor> tag in html inside the #app elementtrix-editor to Vue.config.ignoredElementsnew Vue({el: '#app'})The trix-editor should be ignored.
The trix-editor seems to load two times (2 toolbars appears) when loading the vue app.
Vue replaces the element you are mounting to, but trix-editor seems to populate the element on the page before Vue is mounted, and then populates again when Vue actually renders the app.
One suggestion is moving the app template into a template or a string: http://jsfiddle.net/5yy9xcpq/1/
Or, include trix.js after you have mounted the Vue app.
Most helpful comment
Vue replaces the element you are mounting to, but
trix-editorseems to populate the element on the page before Vue is mounted, and then populates again when Vue actually renders the app.One suggestion is moving the app template into a template or a string: http://jsfiddle.net/5yy9xcpq/1/
Or, include
trix.jsafter you have mounted the Vue app.