mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-26 00:44:07 +01:00
This commit is contained in:
parent
18e377f90f
commit
b5ff267908
21 changed files with 123 additions and 120 deletions
|
|
@ -100,7 +100,7 @@ export const setInlineStyle = (set = true) => {
|
|||
.protyle-wysiwyg .h5 img.emoji, .b3-typography h5 img.emoji {width:${Math.floor(window.siyuan.config.editor.fontSize * 1.13 * 1.25)}px}
|
||||
.protyle-wysiwyg .h6 img.emoji, .b3-typography h6 img.emoji {width:${Math.floor(window.siyuan.config.editor.fontSize * 1.25)}px}`;
|
||||
if (window.siyuan.config.editor.fontFamily) {
|
||||
style += `.b3-typography, .protyle-wysiwyg, .protyle-title, .protyle-title__input{font-family: "${window.siyuan.config.editor.fontFamily}", "quote", "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols" !important;}`;
|
||||
style += `.b3-typography:not(.b3-typography--default), .protyle-wysiwyg, .protyle-title, .protyle-title__input{font-family: "${window.siyuan.config.editor.fontFamily}", "quote", "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols" !important;}`;
|
||||
}
|
||||
if (set) {
|
||||
document.getElementById("editorFontSize").innerHTML = style;
|
||||
|
|
|
|||
|
|
@ -241,7 +241,7 @@ export const openHistory = () => {
|
|||
<ul style="width:200px;overflow: auto;" class="b3-list b3-list--background">
|
||||
<li class="b3-list--empty">${window.siyuan.languages.emptyContent}</li>
|
||||
</ul>
|
||||
<textarea class="fn__flex-1 b3-typography history__text" readonly></textarea>
|
||||
<textarea class="fn__flex-1 history__text" readonly></textarea>
|
||||
</div>
|
||||
<div data-type="assets" class="fn__flex fn__none">
|
||||
<ul style="width:200px;overflow: auto;" class="b3-list b3-list--background">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue