feat: Added preference to toggle Super note toolbar visibility. When toggled off, the toolbar will only be visible when text is selected as a floating toolbar. [skip e2e]
This commit is contained in:
@@ -45,6 +45,7 @@ export const PrefDefaults = {
|
||||
[PrefKey.ComponentPreferences]: {},
|
||||
[PrefKey.ActiveThemes]: [],
|
||||
[PrefKey.ActiveComponents]: [],
|
||||
[PrefKey.AlwaysShowSuperToolbar]: true,
|
||||
} satisfies {
|
||||
[key in PrefKey]: PrefValue[key]
|
||||
}
|
||||
|
||||
@@ -46,6 +46,7 @@ export enum PrefKey {
|
||||
ComponentPreferences = 'componentPreferences',
|
||||
ActiveThemes = 'activeThemes',
|
||||
ActiveComponents = 'activeComponents',
|
||||
AlwaysShowSuperToolbar = 'alwaysShowSuperToolbar',
|
||||
}
|
||||
|
||||
export type PrefValue = {
|
||||
@@ -87,4 +88,5 @@ export type PrefValue = {
|
||||
[PrefKey.ComponentPreferences]: AllComponentPreferences
|
||||
[PrefKey.ActiveThemes]: string[]
|
||||
[PrefKey.ActiveComponents]: string[]
|
||||
[PrefKey.AlwaysShowSuperToolbar]: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user