From 57f4082caddb7a6ef2432ab5f81ae19b32cb77b4 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Tue, 15 Nov 2022 20:30:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=BB=E5=8A=A1=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=8F=B3=E9=94=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/statics/public/js/tinymce/README.md | 9 +++++++++ .../statics/public/js/tinymce/themes/mobile/index.js | 2 +- .../statics/public/js/tinymce/themes/silver/index.js | 2 +- .../statics/public/js/tinymce/themes/silver/theme.js | 1 + 4 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 resources/assets/statics/public/js/tinymce/README.md diff --git a/resources/assets/statics/public/js/tinymce/README.md b/resources/assets/statics/public/js/tinymce/README.md new file mode 100644 index 000000000..23fd2dfd2 --- /dev/null +++ b/resources/assets/statics/public/js/tinymce/README.md @@ -0,0 +1,9 @@ +## 修改了 + +`themes/silver/theme.js`、`themes/silver/theme.min.js` + +加上,自定义弹窗z-index + +```js +if(typeof window.modalTransferIndex==="number"){dirAttributes.styles={'z-index':(window.modalTransferIndex+100).toString()}} +``` diff --git a/resources/assets/statics/public/js/tinymce/themes/mobile/index.js b/resources/assets/statics/public/js/tinymce/themes/mobile/index.js index ad02e831f..ba4ccc566 100644 --- a/resources/assets/statics/public/js/tinymce/themes/mobile/index.js +++ b/resources/assets/statics/public/js/tinymce/themes/mobile/index.js @@ -4,4 +4,4 @@ // require('tinymce/themes/mobile') // ES2015: // import 'tinymce/themes/mobile' -require('./theme.js'); \ No newline at end of file +require('./theme.js'); diff --git a/resources/assets/statics/public/js/tinymce/themes/silver/index.js b/resources/assets/statics/public/js/tinymce/themes/silver/index.js index 09caa8655..a18b6d533 100644 --- a/resources/assets/statics/public/js/tinymce/themes/silver/index.js +++ b/resources/assets/statics/public/js/tinymce/themes/silver/index.js @@ -4,4 +4,4 @@ // require('tinymce/themes/silver') // ES2015: // import 'tinymce/themes/silver' -require('./theme.js'); \ No newline at end of file +require('./theme.js'); diff --git a/resources/assets/statics/public/js/tinymce/themes/silver/theme.js b/resources/assets/statics/public/js/tinymce/themes/silver/theme.js index c2189428c..9dfb3b5e2 100644 --- a/resources/assets/statics/public/js/tinymce/themes/silver/theme.js +++ b/resources/assets/statics/public/js/tinymce/themes/silver/theme.js @@ -29781,6 +29781,7 @@ }; var makeSinkDefinition = function () { var isGridUiContainer = eq(body(), uiContainer) && get$c(uiContainer, 'display') === 'grid'; + if(typeof window.modalTransferIndex==="number"){dirAttributes.styles={'z-index':(window.modalTransferIndex+100).toString()}} var sinkSpec = { dom: __assign({ tag: 'div',