We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 305cc4a commit d9a170cCopy full SHA for d9a170c
1 file changed
assets/scripts/editor.js
@@ -246,10 +246,10 @@ let app = new Vue({
246
this.editor.setValue(DEFAULT_CONTENT);
247
this.cssEditor.setValue(DEFAULT_CSS_CONTENT);
248
this.editor.focus();
249
- this.currentFont = this.builtinFonts[0].value;
250
- this.currentColor = this.colorOption[1].value;
251
- this.currentSize = this.sizeOption[2].value;
252
this.status = '1';
+ this.fontChanged(this.builtinFonts[0].value);
+ this.colorChanged(this.colorOption[1].value);
+ this.sizeChanged(this.sizeOption[2].value);
253
this.cssChanged()
254
}).catch(() => {
255
0 commit comments