fix(editor): 修复编辑器样式和功能问题
修复编辑器容器高度设置问题,统一h2标签为h1 调整图片和视频的显示样式,修复表格背景色 优化编辑器工具栏功能,修复链接插入逻辑
This commit is contained in:
@@ -85,8 +85,10 @@
|
||||
#editor—wrapper {
|
||||
z-index: 100;
|
||||
|
||||
.bold {
|
||||
font-weight: bold;
|
||||
.bold,
|
||||
.bold span {
|
||||
font-weight: bolder;
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
}
|
||||
|
||||
.editor-toolbar {
|
||||
@@ -305,7 +307,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
&.h2 {
|
||||
&.h1 {
|
||||
&.pitch {
|
||||
background-color: rgba(246, 246, 189, 1);
|
||||
}
|
||||
@@ -320,7 +322,7 @@
|
||||
}
|
||||
|
||||
#editor-container {
|
||||
min-height: 500px;
|
||||
height: 500px;
|
||||
max-height: 80vh;
|
||||
font-size: 18px;
|
||||
line-height: 26px;
|
||||
@@ -331,6 +333,19 @@
|
||||
text-decoration: underline;
|
||||
color: #04b0d5;
|
||||
}
|
||||
|
||||
h1,
|
||||
h1 span {
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
color: #000000;
|
||||
font-size: 18px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
video {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -362,13 +377,19 @@
|
||||
height: 220px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: #000000;
|
||||
font-size: 18px;
|
||||
line-height: 30px;
|
||||
h1 {
|
||||
// color: #000000;
|
||||
// font-size: 18px;
|
||||
// line-height: 30px;
|
||||
|
||||
// font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
// font-weight: 650;
|
||||
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
color: #000000;
|
||||
font-size: 18px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.blue {
|
||||
|
||||
Reference in New Issue
Block a user