diff --git a/src/components/codeMirror/header.vue b/src/components/codeMirror/header.vue index 1a477b4..35e5db4 100644 --- a/src/components/codeMirror/header.vue +++ b/src/components/codeMirror/header.vue @@ -94,7 +94,6 @@ export default { output: state=> state.output, editor: state=> state.editor, cssEditor: state=> state.cssEditor, - html: state=> state.html, currentFont: state=> state.currentFont, currentSize: state=> state.currentSize, currentColor: state=> state.currentColor diff --git a/src/components/codeMirror/insertForm.vue b/src/components/codeMirror/insertForm.vue index 8f9b784..8a58938 100644 --- a/src/components/codeMirror/insertForm.vue +++ b/src/components/codeMirror/insertForm.vue @@ -52,9 +52,9 @@ export default { let table = '' for (let i = 0; i < rows + 2; ++i) { - for (let j = 0; j < cols + 1; ++j) { - table += (j === 0 ? '|' : (i !== 1 ? ' |' : ' --- |')) - } + for (let j = 0; j < cols + 1; ++j) { + table += (j === 0 ? '|' : (i !== 1 ? ' |' : ' --- |')) + } table += '\n' }