HTML:
<script id="tb_content" type="text/plain">{{content}}</script>
JS:
var app = new Vue({ el: "#app", data: { content: 'abc', ue: {}, }, mounted: function () { this.ue = UE.getEditor('tb_content'); }, methods: { fn_save: function () { console.log(this.ue.getContent()) } } });