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 7f3db24 commit 0feac00Copy full SHA for 0feac00
src/store/index.js
@@ -145,7 +145,8 @@ const mutations = {
145
state.output = output
146
},
147
clearEditorToDefault(state) {
148
- state.editor.setValue(DEFAULT_CONTENT)
+ const doc = formatDoc(DEFAULT_CONTENT)
149
+ state.editor.setValue(doc)
150
state.cssEditor.setValue(DEFAULT_CSS_CONTENT)
151
}
152
src/view/CodemirrorEditor.vue
@@ -120,7 +120,6 @@ export default {
120
if (this.changeTimer) clearTimeout(this.changeTimer);
121
this.changeTimer = setTimeout(() => {
122
this.onEditorRefresh()
123
- console.log('tick');
124
saveEditorContent(this.editor, '__editor_content')
125
}, 300);
126
});
0 commit comments