1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Issue #2469 almost done, missing refactor to reduce calls on code mirror

This commit is contained in:
Duarte-Frazao
2018-11-30 18:03:23 +00:00
parent 830ade9596
commit 45436f65af
6 changed files with 51 additions and 8 deletions

View File

@@ -51,7 +51,8 @@ function validateInput (input) {
validatedInput.snippets = [{
name: '',
mode: 'text',
content: ''
content: '',
linesHighlighted:[],
}]
} else {
validatedInput.snippets = input.snippets
@@ -96,7 +97,8 @@ function updateNote (storageKey, noteKey, input) {
snippets: [{
name: '',
mode: 'text',
content: ''
content: '',
linesHighlighted:[],
}]
}
: {