优化编辑器操作助手;优化文章阅读样式;

This commit is contained in:
2022-05-26 10:22:36 +08:00
parent 0284f6f2b8
commit 1d9377da5f
2 changed files with 19 additions and 7 deletions

View File

@@ -122,14 +122,14 @@
}
.post-item .info .title {
font-size : 24px;
line-height : 1.3;
margin-bottom : 4px;
font-size : 24px;
line-height : 1.3;
margin-bottom : 4px;
/* max-height : 52px; */
display : -webkit-box;
-webkit-line-clamp: 2;
overflow : hidden;
text-overflow : ellipsis;
display : -webkit-box;
-webkit-line-clamp : 2;
overflow : hidden;
text-overflow : ellipsis;
}
.post-item .info .desc {
@@ -294,6 +294,13 @@ a.post-item:visited {
font-size: 13px !important;
}
.ul-content code {
background-color: #f5f2f0;
border-radius : 3px;
font-family : monospace;
padding : 3px;
}
.copyright {
margin-top : 15px;
padding-top: 20px;

View File

@@ -163,6 +163,11 @@
type: 'editor'
}
}
editorConfig.hoverbarKeys = {
text: {
menuKeys: ['headerSelect', 'code', 'insertLink', 'bulletedList', '|', 'bold', 'through', 'color', 'bgColor', 'clearStyle']
}
}
editorConfig.onChange = (editor) => {
contentSaveLock = false;