From d48ea8337867ac0bb4f169f82fd9260f3af76e50 Mon Sep 17 00:00:00 2001 From: laven-der <527369072@qq.com> Date: Thu, 11 Jun 2020 16:31:07 +0800 Subject: [PATCH] =?UTF-8?q?feature:=E6=96=B0=E5=A2=9E=E5=AF=8C=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E7=BC=96=E8=BE=91=E5=99=A8=E6=8F=92=E4=BB=B6=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=85=A5=E5=8F=A3,=E6=8F=90=E4=BE=9B=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E5=9B=BE=E7=89=87=E5=8A=9F=E8=83=BD,=E5=85=A8?= =?UTF-8?q?=E5=B1=80loading=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + .../Tinymce/components/EditorImage.vue | 33 ++- src/components/Tinymce/example.vue | 234 ++++++++++++++++++ src/components/Tinymce/index.vue | 98 ++++++-- src/utils/request.js | 16 +- src/views/components-demo/tinymce.vue | 28 ++- 6 files changed, 378 insertions(+), 32 deletions(-) create mode 100644 src/components/Tinymce/example.vue diff --git a/package.json b/package.json index 22ebe91e..f1ce0d6e 100644 --- a/package.json +++ b/package.json @@ -89,6 +89,7 @@ "eslint": "5.15.3", "eslint-plugin-vue": "5.2.2", "html-webpack-plugin": "3.2.0", + "html2canvas": "^1.0.0-rc.5", "husky": "1.3.1", "lint-staged": "8.1.5", "mockjs": "1.0.1-beta3", diff --git a/src/components/Tinymce/components/EditorImage.vue b/src/components/Tinymce/components/EditorImage.vue index 07d48e6c..1edbcbd6 100644 --- a/src/components/Tinymce/components/EditorImage.vue +++ b/src/components/Tinymce/components/EditorImage.vue @@ -1,6 +1,12 @@