From a74596698448746de633b87fca0dc915decd181a Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Thu, 19 Aug 2021 19:20:02 +0200 Subject: [PATCH] feat: forked vue-easymde --- package.json | 2 +- src/components/input/editor.vue | 34 +- .../input/vue-easymde/vue-easymde.css | 374 ++++++++++++++++++ .../input/vue-easymde/vue-easymde.vue | 162 ++++++++ yarn.lock | 12 +- 5 files changed, 557 insertions(+), 27 deletions(-) create mode 100644 src/components/input/vue-easymde/vue-easymde.css create mode 100644 src/components/input/vue-easymde/vue-easymde.vue diff --git a/package.json b/package.json index 083ba4ef..aac1105e 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "copy-to-clipboard": "3.3.1", "date-fns": "2.24.0", "dompurify": "2.3.3", + "easymde": "^2.15.0", "highlight.js": "11.2.0", "is-touch-device": "1.0.1", "lodash": "4.17.21", @@ -32,7 +33,6 @@ "vue": "3.2.14", "vue-advanced-cropper": "^2.6.3", "vue-drag-resize": "^2.0.3", - "vue-easymde": "1.4.0", "vue-flatpickr-component": "9.0.5", "vue-i18n": "9.2.0-beta.6", "vue-router": "4.0.11", diff --git a/src/components/input/editor.vue b/src/components/input/editor.vue index 5d4db643..18917869 100644 --- a/src/components/input/editor.vue +++ b/src/components/input/editor.vue @@ -45,7 +45,7 @@ diff --git a/yarn.lock b/yarn.lock index d2ae292f..11a5ab75 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3057,7 +3057,7 @@ easy-bem@^1.0.2: resolved "https://registry.yarnpkg.com/easy-bem/-/easy-bem-1.1.1.tgz#1bfcc10425498090bcfddc0f9c000aba91399e03" integrity sha512-GJRqdiy2h+EXy6a8E6R+ubmqUM08BK0FWNq41k24fup6045biQ8NXxoXimiwegMQvFFV3t1emADdGNL1TlS61A== -easymde@^2.14.0: +easymde@^2.15.0: version "2.15.0" resolved "https://registry.yarnpkg.com/easymde/-/easymde-2.15.0.tgz#73667c4879d8687b07651d6259ee652bba5d0b00" integrity sha512-9jMRIVvKt1d0UjRN45yotUYECAM4xvw0TTAQw8sYDONP++keWJVnd8Xrn+V+vQEN/v9/X0SWEoo1rFSgCooGpw== @@ -5149,7 +5149,7 @@ marked@3.0.4: resolved "https://registry.yarnpkg.com/marked/-/marked-3.0.4.tgz#b8a1539e5e05c6ea9e93f15c0bad1d54ce890406" integrity sha512-jBo8AOayNaEcvBhNobg6/BLhdsK3NvnKWJg33MAAPbvTWiG4QBn9gpW1+7RssrKu4K1dKlN+0goVQwV41xEfOA== -marked@^2.0.1, marked@^2.0.3: +marked@^2.0.3: version "2.1.3" resolved "https://registry.yarnpkg.com/marked/-/marked-2.1.3.tgz#bd017cef6431724fd4b27e0657f5ceb14bff3753" integrity sha512-/Q+7MGzaETqifOMWYEA7HVMaZb4XbcRfaOzcSsHZEith83KGlvaSG33u0SKu89Mj5h+T8V2hM+8O45Qc5XTgwA== @@ -6916,14 +6916,6 @@ vue-drag-resize@^2.0.3: resolved "https://registry.yarnpkg.com/vue-drag-resize/-/vue-drag-resize-2.0.3.tgz#1faf0813f43304205bb355fbb3dacc548dd9398a" integrity sha512-5q03tZ/LyvQsg1iHRcqs+wI2OKNbNIWl9+7V8rVL6MxJhZLCIYSSgbAUaDE38LhD6dFd5aJhdgNmES61AxjXuw== -vue-easymde@1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/vue-easymde/-/vue-easymde-1.4.0.tgz#6483c257e3b86ce40c770a1dbb0d7c5f0332af51" - integrity sha512-eVPm4vxndTK05rGA/tZDtqCZzLaaaPqkMLz/AcFnDnfseC7p4fpdfjrrv1djBrQRxnp5o/zCGDW7YGnqSE7yvA== - dependencies: - easymde "^2.14.0" - marked "^2.0.1" - vue-eslint-parser@^7.0.0, vue-eslint-parser@^7.10.0: version "7.10.0" resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-7.10.0.tgz#ea4e4b10fd10aa35c8a79ac783488d8abcd29be8"