mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
47 lines
1.5 KiB
Diff
47 lines
1.5 KiB
Diff
diff --git a/package.json b/package.json
|
|
index f267be19..fb806527 100644
|
|
--- a/package.json
|
|
+++ b/package.json
|
|
@@ -31,14 +31,12 @@
|
|
"type": "git",
|
|
"url": "git+https://akkoma.dev/AkkomaGang/admin-fe.git"
|
|
},
|
|
- "resolutions": {
|
|
- "prosemirror-model": "1.9.1"
|
|
- },
|
|
"bugs": {
|
|
"url": "https://akkoma.dev/AkkomaGang/admin-fe/-/issues"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.3.4",
|
|
+ "@toast-ui/editor": "^3.2.0",
|
|
"axios": "0.18.0",
|
|
"clipboard": "1.7.1",
|
|
"codemirror": "5.39.2",
|
|
@@ -65,7 +63,6 @@
|
|
"sortablejs": "1.7.0",
|
|
"tiptap": "^1.29.6",
|
|
"tiptap-extensions": "^1.32.7",
|
|
- "tui-editor": "1.2.7",
|
|
"vue": "^2.6.8",
|
|
"vue-count-to": "1.0.13",
|
|
"vue-i18n": "^8.9.0",
|
|
diff --git a/src/components/element-ui/MarkdownEditor/index.vue b/src/components/element-ui/MarkdownEditor/index.vue
|
|
index 7ae9fd40..18114701 100644
|
|
--- a/src/components/element-ui/MarkdownEditor/index.vue
|
|
+++ b/src/components/element-ui/MarkdownEditor/index.vue
|
|
@@ -5,10 +5,10 @@
|
|
<script>
|
|
// deps for editor
|
|
import 'codemirror/lib/codemirror.css' // codemirror
|
|
-import 'tui-editor/dist/tui-editor.css' // editor ui
|
|
-import 'tui-editor/dist/tui-editor-contents.css' // editor content
|
|
+import '@toast-ui/editor/dist/tui-editor.css' // editor ui
|
|
+import '@toast-ui/editor/dist/tui-editor-contents.css' // editor content
|
|
|
|
-import Editor from 'tui-editor'
|
|
+import Editor from '@toast-ui/editor'
|
|
import defaultOptions from './defaultOptions'
|
|
|
|
export default {
|