From 56104b2abf7ef19e58de2fd18b258e2bf8d2571c Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Wed, 22 Oct 2025 11:02:29 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20tinymce=20=E9=81=BF=E5=85=8D?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E5=9C=B0=E5=9D=80=E5=92=8C=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E8=BD=AC=E6=8D=A2=E6=88=90=E7=9B=B8=E5=AF=B9?= =?UTF-8?q?=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/components/tinymce/src/editor.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/web-antd/src/components/tinymce/src/editor.vue b/apps/web-antd/src/components/tinymce/src/editor.vue index 276d84e5..27b2e152 100644 --- a/apps/web-antd/src/components/tinymce/src/editor.vue +++ b/apps/web-antd/src/components/tinymce/src/editor.vue @@ -133,6 +133,11 @@ const initOptions = computed((): InitOptions => { toolbar_mode: 'sliding', // 隐藏下面的 按xxx获取帮助 help_accessibility: false, + // https://blog.csdn.net/qq_46380656/article/details/122171418 + // 避免图片地址和链接地址转换成相对路径 + relative_urls: false, + remove_script_host: false, + convert_urls: false, ...options, /** * 覆盖默认的base64行为