From c292a065ef55137cca9d0870776c648b15f1a924 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 6 Nov 2023 17:08:18 +0800 Subject: [PATCH] [_] --- sui/core/editor.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sui/core/editor.go b/sui/core/editor.go index ea615e69..012d03c5 100644 --- a/sui/core/editor.go +++ b/sui/core/editor.go @@ -50,7 +50,8 @@ func (page *Page) EditorRender(request *Request) (*ResponseEditorRender, error) } // Render tools - // res.Scripts = append(res.Scripts, filepath.Join("@assets", "__render.js")) + res.Scripts = append(res.Scripts, filepath.Join("@assets", "__render.js")) + res.Styles = append(res.Styles, filepath.Join("@assets", "__render.css")) // doc, _, err := page.Build(&BuildOption{ // SSR: true,