feat: add line height & font size settings for plaintext editor (#1700)

This commit is contained in:
Aman Harwara
2022-09-30 00:50:33 +05:30
committed by GitHub
parent fc86cebc75
commit 3c699eaa4a
12 changed files with 178 additions and 31 deletions

View File

@@ -1,4 +1,4 @@
import { PrefKey, CollectionSort, NewNoteTitleFormat } from '@standardnotes/models'
import { PrefKey, CollectionSort, NewNoteTitleFormat, EditorLineHeight, EditorFontSize } from '@standardnotes/models'
export const PrefDefaults = {
[PrefKey.TagsPanelWidth]: 220,
@@ -8,6 +8,8 @@ export const PrefDefaults = {
[PrefKey.EditorMonospaceEnabled]: true,
[PrefKey.EditorSpellcheck]: true,
[PrefKey.EditorResizersEnabled]: true,
[PrefKey.EditorLineHeight]: EditorLineHeight.Normal,
[PrefKey.EditorFontSize]: EditorFontSize.Normal,
[PrefKey.SortNotesBy]: CollectionSort.CreatedAt,
[PrefKey.SortNotesReverse]: false,
[PrefKey.NotesShowArchived]: false,