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,