feat: move save method into snjs controller (#809)

* feat: move editor save method to snjs note controller
This commit is contained in:
Mo
2022-01-10 22:04:57 -06:00
committed by GitHub
parent 660f74c8ba
commit c1b7f60e35
8 changed files with 49 additions and 134 deletions

View File

@@ -25,13 +25,6 @@ export const STRING_DELETE_TAG =
export const STRING_MISSING_SYSTEM_TAG = 'We are missing a System Tag.';
/** @editor */
export const STRING_SAVING_WHILE_DOCUMENT_HIDDEN =
'Attempting to save an item while the application is hidden. To protect data integrity, please refresh the application window and try again.';
export const STRING_DELETED_NOTE =
'The note you are attempting to edit has been deleted, and is awaiting sync. Changes you make will be disregarded.';
export const STRING_INVALID_NOTE =
"The note you are attempting to save can not be found or has been deleted. Changes you make will not be synced. Please copy this note's text and start a new note.";
export const STRING_ELLIPSES = '...';
export const STRING_GENERIC_SAVE_ERROR =
'There was an error saving your note. Please try again.';
export const STRING_DELETE_PLACEHOLDER_ATTEMPT =