Skip to content

Commit 6eefbad

Browse files
committed
chore(ui): fix build broken by recent QEditor changes
1 parent 8892e85 commit 6eefbad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui/src/components/editor/QEditor.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ export default Vue.extend({
253253
watch: {
254254
value (v) {
255255
if (this.editWatcher) {
256-
this.setContent(v)
256+
this.__setContent(v)
257257
}
258258
else {
259259
this.editWatcher = true
@@ -331,7 +331,7 @@ export default Vue.extend({
331331
return this.$refs.content
332332
},
333333

334-
setContent (v) {
334+
__setContent (v) {
335335
if (this.isViewingSource) {
336336
this.$refs.content.innerText = v
337337
}
@@ -350,7 +350,7 @@ export default Vue.extend({
350350

351351
mounted () {
352352
this.caret = new Caret(this.$refs.content, this)
353-
this.setContent(this.value)
353+
this.__setContent(this.value)
354354
this.refreshToolbar()
355355
},
356356

0 commit comments

Comments
 (0)