Merge branch 'hotfix/10.1.1'
This commit is contained in:
@@ -15,6 +15,7 @@ import {
|
|||||||
ComponentArea,
|
ComponentArea,
|
||||||
PrefKey,
|
PrefKey,
|
||||||
ComponentMutator,
|
ComponentMutator,
|
||||||
|
PayloadSource,
|
||||||
} from '@standardnotes/snjs';
|
} from '@standardnotes/snjs';
|
||||||
import { isDesktopApplication } from '@/utils';
|
import { isDesktopApplication } from '@/utils';
|
||||||
import { KeyboardModifier, KeyboardKey } from '@/services/ioService';
|
import { KeyboardModifier, KeyboardKey } from '@/services/ioService';
|
||||||
@@ -172,6 +173,12 @@ class EditorViewCtrl extends PureViewCtrl<unknown, EditorState> {
|
|||||||
if (!this.editorValues.text) {
|
if (!this.editorValues.text) {
|
||||||
this.editorValues.text = note.text;
|
this.editorValues.text = note.text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const isTemplateNoteInsertedToBeInteractableWithEditor = source === PayloadSource.Constructor && note.dirty;
|
||||||
|
if (isTemplateNoteInsertedToBeInteractableWithEditor) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (note.lastSyncBegan || note.dirty) {
|
if (note.lastSyncBegan || note.dirty) {
|
||||||
if (note.lastSyncEnd) {
|
if (note.lastSyncEnd) {
|
||||||
if (
|
if (
|
||||||
|
|||||||
Reference in New Issue
Block a user