feat: layout style(1)

This commit is contained in:
email
2022-03-20 20:02:48 +08:00
parent 8ad98291eb
commit 2b5ee78397
34 changed files with 70 additions and 194 deletions

View File

@ -1,5 +1,3 @@
import { InputAction } from "tiny-undo";
/**
* Define storage data type
*/
@ -9,14 +7,6 @@ interface StorageData {
shouldSplitMemoWord: boolean;
shouldHideImageUrl: boolean;
shouldUseMarkdownParser: boolean;
// Editor setting
useTinyUndoHistoryCache: boolean;
// tiny undo actions cache
tinyUndoActionsCache: InputAction[];
// tiny undo index cache
tinyUndoIndexCache: number;
}
type StorageKey = keyof StorageData;