fix: no snippets and warnings in runtime config editor

This commit is contained in:
dongchengjie
2024-05-21 06:18:09 +08:00
parent a371cd1d79
commit 540e1a9650
3 changed files with 44 additions and 83 deletions

View File

@@ -124,6 +124,7 @@ export const ThemeViewer = forwardRef<DialogRef>((props, ref) => {
{t("Edit")} CSS
</Button>
<EditorViewer
title={`${t("Edit")} CSS`}
mode="text"
property={theme.css_injection ?? ""}
open={editorOpen}