fix(editor): 修复编辑器样式和功能问题
修复编辑器容器高度设置问题,统一h2标签为h1 调整图片和视频的显示样式,修复表格背景色 优化编辑器工具栏功能,修复链接插入逻辑
This commit is contained in:
27
css/edit.css
27
css/edit.css
@@ -76,8 +76,10 @@
|
||||
#edit .edit-container #editor—wrapper {
|
||||
z-index: 100;
|
||||
}
|
||||
#edit .edit-container #editor—wrapper .bold {
|
||||
font-weight: bold;
|
||||
#edit .edit-container #editor—wrapper .bold,
|
||||
#edit .edit-container #editor—wrapper .bold span {
|
||||
font-weight: bolder;
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
}
|
||||
#edit .edit-container #editor—wrapper .editor-toolbar {
|
||||
height: 36px;
|
||||
@@ -262,14 +264,14 @@
|
||||
#edit .edit-container #editor—wrapper .editor-toolbar .toolbar-item.link .link-box .btn:hover {
|
||||
background-color: #23e0b6;
|
||||
}
|
||||
#edit .edit-container #editor—wrapper .editor-toolbar .toolbar-item.h2.pitch {
|
||||
#edit .edit-container #editor—wrapper .editor-toolbar .toolbar-item.h1.pitch {
|
||||
background-color: #f6f6bd;
|
||||
}
|
||||
#edit .edit-container #editor—wrapper .editor-toolbar .toolbar-item.active > button {
|
||||
background-color: #f6f6bd;
|
||||
}
|
||||
#edit .edit-container #editor—wrapper #editor-container {
|
||||
min-height: 500px;
|
||||
height: 500px;
|
||||
max-height: 80vh;
|
||||
font-size: 18px;
|
||||
line-height: 26px;
|
||||
@@ -280,6 +282,17 @@
|
||||
text-decoration: underline;
|
||||
color: #04b0d5;
|
||||
}
|
||||
#edit .edit-container #editor—wrapper #editor-container h1,
|
||||
#edit .edit-container #editor—wrapper #editor-container h1 span {
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
color: #000000;
|
||||
font-size: 18px;
|
||||
line-height: 30px;
|
||||
}
|
||||
#edit .edit-container #editor—wrapper #editor-container video {
|
||||
max-width: 100%;
|
||||
}
|
||||
#edit .edit-container .content-input {
|
||||
min-height: 509px;
|
||||
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
|
||||
@@ -306,12 +319,12 @@
|
||||
max-width: 100%;
|
||||
height: 220px;
|
||||
}
|
||||
#edit .edit-container .content-input h2 {
|
||||
#edit .edit-container .content-input h1 {
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
color: #000000;
|
||||
font-size: 18px;
|
||||
line-height: 30px;
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
}
|
||||
#edit .edit-container .content-input .blue {
|
||||
color: #026277;
|
||||
|
||||
Reference in New Issue
Block a user