When trix is spawned within a VueJS
Open this skeleton in browser:
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/vue"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/trix/0.10.1/trix.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/trix/0.10.1/trix.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="app">
<input type="hidden" id="test" />
<trix-editor input="test"></trix-editor>
</div>
<script>
var app = new Vue({
el: "#app",
});
</script>
</body>
</html>
Result:

Expected:

NB: Works well with firefox 53.0.2
I think both Vue and trix listens dom changes at some point.
I created a demo for quick fix. Hope it helps.
http://jsbin.com/qayogecogi/1/edit?html,output
(worked well on windows)
Looks great, simple solution!
Too bad they don't interact natively though.
Alternatively, you could use a template:
<div id="editor"></div>
<script>
var app = new Vue({
el: "#editor",
template: "<trix-editor></trix-editor>"
})
</script>
@onurozkan Could you repost the jsbin please? It has been expired.
Similar to @javan you can also make a component with the template being <trix-editor></trix-editor>, no javascript configuration is required for the component. You can then use your custom component tag in place of <trix-editor>.
Thanks, @javan
Most helpful comment
Alternatively, you could use a
template: