Merge branch 'fix-mail-constant' into 'main'
[ProtonMail-WebClient.git] / applications / docs-editor / src / app / EditorUserMode.ts
blobd29da19a013912b2f9b8ff6c47cc417e377c7768
1 /**
2  * Determines how the editor presents itself, but this option, unlike EditorSystemMode, can be changed by the user.
3  * However, it cannot override the system mode if they conflict with each other.
4  */
5 export enum EditorUserMode {
6   /** Full range of editing options available */
7   Edit = 'edit',
8   /** Toolbar and all distractions are hidden */
9   Preview = 'preview',
10   /** Some toolbar options may be unavailable. */
11   Suggest = 'suggest',