about summary refs log tree commit diff
path: root/pkgs/servers/akkoma/admin-fe/deps.patch
blob: 35e1efdff84aec25c799f7b40ec4ac00b6bad5b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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 {