mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
split out note's content into separate entity, WIP
This commit is contained in:
@@ -49,7 +49,7 @@ async function show() {
|
||||
// this needs to happen after the element is shown, otherwise the editor won't be refreshed
|
||||
// CodeMirror breaks pretty badly on null so even though it shouldn't happen (guarded by consistency check)
|
||||
// we provide fallback
|
||||
codeEditor.setValue(currentNote.content || "");
|
||||
codeEditor.setValue(currentNote.noteContent.content || "");
|
||||
|
||||
const info = CodeMirror.findModeByMIME(currentNote.mime);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user