change code editor to codemirror.

This commit is contained in:
2023-04-07 10:00:29 +08:00
parent 007de440d6
commit 0862b0ff91
14 changed files with 335 additions and 2744 deletions

View File

@@ -10,13 +10,17 @@
"fmt": "prettier --write src *.ts"
},
"dependencies": {
"@codemirror/lang-cpp": "^6.0.2",
"@codemirror/lang-java": "^6.0.1",
"@codemirror/lang-javascript": "^6.1.5",
"@codemirror/lang-python": "^6.1.2",
"@element-plus/icons-vue": "^2.1.0",
"@monaco-editor/loader": "^1.3.3",
"@vueuse/core": "^9.13.0",
"@wangeditor/editor": "^5.1.23",
"@wangeditor/editor-for-vue": "^5.1.12",
"axios": "1.3.4",
"chart.js": "^4.2.1",
"codemirror": "^6.0.1",
"copy-text-to-clipboard": "^3.1.0",
"date-fns": "^2.29.3",
"highlight.js": "^11.7.0",
@@ -26,6 +30,7 @@
"pinia": "^2.0.33",
"vue": "^3.2.47",
"vue-chartjs": "^5.2.0",
"vue-codemirror": "^6.1.1",
"vue-router": "^4.1.6"
},
"devDependencies": {
@@ -34,7 +39,6 @@
"@vitejs/plugin-legacy": "^4.0.2",
"@vitejs/plugin-vue": "^4.1.0",
"markdown-it-shiki": "^0.8.0",
"monaco-editor": "0.30.1",
"prettier": "^2.8.7",
"terser": "^5.16.8",
"typescript": "^5.0.3",