diff --git a/app/assets/javascripts/views/editor/editor_view.ts b/app/assets/javascripts/views/editor/editor_view.ts index 2f322451e..d032bf04f 100644 --- a/app/assets/javascripts/views/editor/editor_view.ts +++ b/app/assets/javascripts/views/editor/editor_view.ts @@ -15,6 +15,7 @@ import { ComponentArea, PrefKey, ComponentMutator, + PayloadSource, } from '@standardnotes/snjs'; import { isDesktopApplication } from '@/utils'; import { KeyboardModifier, KeyboardKey } from '@/services/ioService'; @@ -172,6 +173,12 @@ class EditorViewCtrl extends PureViewCtrl { if (!this.editorValues.text) { this.editorValues.text = note.text; } + + const isTemplateNoteInsertedToBeInteractableWithEditor = source === PayloadSource.Constructor && note.dirty; + if (isTemplateNoteInsertedToBeInteractableWithEditor) { + return; + } + if (note.lastSyncBegan || note.dirty) { if (note.lastSyncEnd) { if (