From d4405464ceb53513bff7ec6caf07113623e95383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E8=A3=A4=E8=A1=A9?= Date: Wed, 22 Apr 2020 10:31:46 +0800 Subject: [PATCH 1/2] fix: use vue-cli default source-map (#3097) cheap-module-eval-source-map --- vue.config.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vue.config.js b/vue.config.js index 1ec990ea..ba5be418 100644 --- a/vue.config.js +++ b/vue.config.js @@ -80,12 +80,6 @@ module.exports = { }) .end() - config - // https://webpack.js.org/configuration/devtool/#development - .when(process.env.NODE_ENV === 'development', - config => config.devtool('cheap-source-map') - ) - config .when(process.env.NODE_ENV !== 'development', config => { From 1b8f726529b6d2b6384ee55db44b24daadc3dfa8 Mon Sep 17 00:00:00 2001 From: Aisen Date: Tue, 28 Apr 2020 10:10:58 +0800 Subject: [PATCH 2/2] perf[Tinymce]: editor try to keep these URLs intact (#3141) --- src/components/Tinymce/index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/Tinymce/index.vue b/src/components/Tinymce/index.vue index 0c6174c4..c0f486f0 100644 --- a/src/components/Tinymce/index.vue +++ b/src/components/Tinymce/index.vue @@ -147,7 +147,11 @@ export default { editor.on('FullscreenStateChanged', (e) => { _this.fullscreen = e.state }) - } + }, + //it will try to keep these URLs intact + //https://www.tiny.cloud/docs-3x/reference/configuration/Configuration3x@convert_urls/ + //https://stackoverflow.com/questions/5196205/disable-tinymce-absolute-to-relative-url-conversions + convert_urls: false // 整合七牛上传 // images_dataimg_filter(img) { // setTimeout(() => {