From 5c60024de114b86c112ecc8728f2566cb30933bb Mon Sep 17 00:00:00 2001
From: dai <851733175@qq.com>
Date: Tue, 9 May 2023 16:28:38 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E7=94=A8=E7=9B=B8=E5=AF=B9=E8=B7=AF?=
=?UTF-8?q?=E5=BE=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/components/tinymce/index.vue | 274 ++++++++++++------------
src/views/components/tinymce2/index.vue | 2 +
2 files changed, 141 insertions(+), 135 deletions(-)
diff --git a/src/views/components/tinymce/index.vue b/src/views/components/tinymce/index.vue
index 19e710b..19a1aeb 100644
--- a/src/views/components/tinymce/index.vue
+++ b/src/views/components/tinymce/index.vue
@@ -1,6 +1,6 @@
/* eslint-disable */
-
+
diff --git a/src/views/components/tinymce2/index.vue b/src/views/components/tinymce2/index.vue
index 89323c1..ab9cc23 100644
--- a/src/views/components/tinymce2/index.vue
+++ b/src/views/components/tinymce2/index.vue
@@ -113,6 +113,8 @@ export default {
default_link_target: "_blank",
link_title: false,
nonbreaking_force_tab: true,
+ // 禁止把图片路径改写成相对路径,也许是为了项目转移方便,但是文章有多个场景
+ convert_urls: false,
// 图片上传
images_upload_handler: function (blobInfo, succFun, failFun) {
var xhr, formData;