From 5cac199710e5bd9bb65a6c96b94d5c8bd6bff43a Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 21 Dec 2022 15:10:21 +0900 Subject: [PATCH] revert: use sortablejs-vue3 instead of vuedraggable for more stability --- packages/client/package.json | 5 +-- .../src/components/MkPostFormAttaches.vue | 13 ++----- packages/client/src/components/MkWidgets.vue | 16 +++----- .../pages/page-editor/page-editor.blocks.vue | 2 +- .../src/pages/page-editor/page-editor.vue | 2 +- .../client/src/pages/settings/reaction.vue | 11 +----- yarn.lock | 37 +++++++++---------- 7 files changed, 31 insertions(+), 55 deletions(-) diff --git a/packages/client/package.json b/packages/client/package.json index c5fbf80317..5b596f73d0 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -46,8 +46,6 @@ "s-age": "1.1.2", "sass": "1.57.0", "seedrandom": "3.0.5", - "sortablejs": "^1.15.0", - "sortablejs-vue3": "^1.2.3", "strict-event-emitter-types": "2.0.0", "stringz": "2.1.0", "syuilo-password-strength": "0.0.1", @@ -63,7 +61,8 @@ "vanilla-tilt": "1.8.0", "vite": "4.0.2", "vue": "3.2.45", - "vue-prism-editor": "2.0.0-alpha.2" + "vue-prism-editor": "2.0.0-alpha.2", + "vuedraggable": "next" }, "devDependencies": { "@types/escape-regexp": "0.0.1", diff --git a/packages/client/src/components/MkPostFormAttaches.vue b/packages/client/src/components/MkPostFormAttaches.vue index 44833db460..955d835f25 100644 --- a/packages/client/src/components/MkPostFormAttaches.vue +++ b/packages/client/src/components/MkPostFormAttaches.vue @@ -1,6 +1,6 @@