编辑器资源本地化
This commit is contained in:
@@ -291,6 +291,8 @@ function setEditorHiddenAreas(
|
||||
hiddenAreaEditor.setHiddenAreas?.(ranges)
|
||||
}
|
||||
|
||||
import "@/lib/monaco-local"
|
||||
|
||||
const MonacoEditor = dynamic(async () => import("@monaco-editor/react"), {
|
||||
ssr: false,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user