This commit is contained in:
Vanessa 2022-07-06 00:35:39 +08:00
parent df5d23a3ba
commit 69abf741b0
2 changed files with 12 additions and 12 deletions

View file

@ -89,7 +89,7 @@ export const setPadding = (protyle: IProtyle) => {
});
}
if (window.siyuan.config.editor.displayBookmarkIcon) {
const editorAttrElement = document.getElementById("editorAttr")
const editorAttrElement = document.getElementById("editorAttr");
if (editorAttrElement) {
editorAttrElement.innerHTML = `.protyle-wysiwyg--attr .b3-tooltips:after { max-width: ${protyle.wysiwyg.element.clientWidth - min16 - min24}px; }`;
}