mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
优化编辑器操作助手;优化文章阅读样式;
This commit is contained in:
@@ -127,7 +127,7 @@
|
|||||||
margin-bottom : 4px;
|
margin-bottom : 4px;
|
||||||
/* max-height : 52px; */
|
/* max-height : 52px; */
|
||||||
display : -webkit-box;
|
display : -webkit-box;
|
||||||
-webkit-line-clamp: 2;
|
-webkit-line-clamp : 2;
|
||||||
overflow : hidden;
|
overflow : hidden;
|
||||||
text-overflow : ellipsis;
|
text-overflow : ellipsis;
|
||||||
}
|
}
|
||||||
@@ -294,6 +294,13 @@ a.post-item:visited {
|
|||||||
font-size: 13px !important;
|
font-size: 13px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ul-content code {
|
||||||
|
background-color: #f5f2f0;
|
||||||
|
border-radius : 3px;
|
||||||
|
font-family : monospace;
|
||||||
|
padding : 3px;
|
||||||
|
}
|
||||||
|
|
||||||
.copyright {
|
.copyright {
|
||||||
margin-top : 15px;
|
margin-top : 15px;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
|
|||||||
@@ -163,6 +163,11 @@
|
|||||||
type: 'editor'
|
type: 'editor'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
editorConfig.hoverbarKeys = {
|
||||||
|
text: {
|
||||||
|
menuKeys: ['headerSelect', 'code', 'insertLink', 'bulletedList', '|', 'bold', 'through', 'color', 'bgColor', 'clearStyle']
|
||||||
|
}
|
||||||
|
}
|
||||||
editorConfig.onChange = (editor) => {
|
editorConfig.onChange = (editor) => {
|
||||||
contentSaveLock = false;
|
contentSaveLock = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user