修复透明度覆盖影响设置问题,优化样式

This commit is contained in:
eoao
2025-06-06 00:23:31 +08:00
parent 1c40dc8338
commit 8054c0390c
15 changed files with 179 additions and 147 deletions

View File

@@ -289,7 +289,7 @@ function htmlToText(email) {
function cleanSpace(text) {
return text
.replace(/[\u200B-\u200F\uFEFF]/g, '') // 移除零宽空格、ZWNJ、ZWJ、LRM、RLM、BOM
.replace(/[\u200B-\u200F\uFEFF\u034F\u200B-\u200F\u00A0\u3000]/g, '') // 移除零宽空格
.replace(/\s+/g, ' ') // 多空白合并成一个空格
.trim();
}
@@ -705,10 +705,7 @@ function loadData() {
}
&:hover {
box-shadow: inset 1px 0 0 rgb(218, 220, 224),
inset -1px 0 0 rgb(218, 220, 224),
0 1px 2px 0 rgba(60, 64, 67, 0.3),
0 1px 3px 1px rgba(60, 64, 67, 0.15);
background-color: #F2F6FC;
z-index: 0;
}

View File

@@ -75,6 +75,7 @@ function initEditor() {
mobile: {
toolbar: 'fullscreen bold emoticons forecolor fontsize | alignleft aligncenter alignright alignjustify | outdent indent | bullist numlist | link image | table code preview ',
},
font_size_formats: '8pt 10pt 12pt 14pt 16pt 18pt 24pt 36pt',
emoticons_search: false,
language: 'zh_CN',
language_url: '/tinymce/langs/zh_CN.js',