Persist full-width as user preference when toggled

closes #5562
This commit is contained in:
Tom Moor
2023-10-28 13:03:38 -04:00
parent 92ba095124
commit f2df25d115
3 changed files with 14 additions and 2 deletions

View File

@@ -116,6 +116,8 @@ export enum UserPreference {
CodeBlockLineNumers = "codeBlockLineNumbers",
/** Whether documents have a separate edit mode instead of always editing. */
SeamlessEdit = "seamlessEdit",
/** Whether documents should start in full-width mode. */
FullWidthDocuments = "fullWidthDocuments",
}
export type UserPreferences = { [key in UserPreference]?: boolean };