diff --git a/docs/guide/editors.md b/docs/guide/editors.md index 137eb0894b..cee5060973 100644 --- a/docs/guide/editors.md +++ b/docs/guide/editors.md @@ -6,7 +6,7 @@ If you want some high-level management to your slides, we have provided the foll ## Integrated Editor -Slidev comes with an integrated [CodeMirror](https://codemirror.net/) editor that will instantly reload and save the changes to your file. +Slidev comes with an integrated editor that will instantly reload and save the changes to your file. Click the button to open it. diff --git a/package.json b/package.json index 2c9e6a5276..a18de61f1f 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,6 @@ "@slidev/parser": "workspace:*", "@slidev/types": "workspace:*", "@types/cli-progress": "^3.11.5", - "@types/codemirror": "^5.60.15", "@types/connect": "^3.4.38", "@types/debug": "^4.1.12", "@types/file-saver": "^2.0.7", diff --git a/packages/client/internals/ShikiEditor.vue b/packages/client/internals/ShikiEditor.vue new file mode 100644 index 0000000000..fa2779434e --- /dev/null +++ b/packages/client/internals/ShikiEditor.vue @@ -0,0 +1,60 @@ + + +