Preserve Editor State (#151)

This commit is contained in:
Gregory Schier
2024-12-31 07:31:43 -08:00
committed by GitHub
parent 31f2bff0f6
commit 135c366e32
33 changed files with 295 additions and 177 deletions

View File

@@ -197,6 +197,7 @@ export function SettingsAppearance() {
].join('\n')}
heightMode="auto"
language="javascript"
stateKey={null}
/>
</VStack>
</VStack>

View File

@@ -107,6 +107,7 @@ export function SettingsDesign() {
placeholder="Placeholder"
size="sm"
rightSlot={<IconButton title="search" size="xs" className="w-8 m-0.5" icon="search" />}
stateKey={null}
/>
<Editor
defaultValue={[
@@ -118,6 +119,7 @@ export function SettingsDesign() {
].join('\n')}
heightMode="auto"
language="javascript"
stateKey={null}
/>
<div className="flex flex-col gap-1">
<div className="flex flex-wrap gap-1">