first experiments with code mirror

This commit is contained in:
azivner
2018-01-20 21:56:03 -05:00
parent 93b4cf6a05
commit 090e1b845f
9 changed files with 82 additions and 6 deletions

View File

@@ -38,9 +38,10 @@ async function createNewNote(parentNoteId, note, sourceId) {
note_id: noteId,
note_title: note.note_title,
note_text: note.note_text ? note.note_text : '',
is_protected: note.is_protected,
type: 'text',
date_created: now,
date_modified: now,
is_protected: note.is_protected
date_modified: now
});
await sync_table.addNoteSync(noteId, sourceId);