mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-24 16:04:06 +01:00
💚
This commit is contained in:
parent
3ab32327f3
commit
90516de22e
9 changed files with 23 additions and 9 deletions
|
|
@ -194,7 +194,7 @@ const setHTML = (options: {
|
|||
Array.from(protyle.wysiwyg.element.children).forEach((item, index) => {
|
||||
if ((options.expand && index > 2) || (!options.expand && index > 1)) {
|
||||
if ((options.expand && index === 3) || (!options.expand && index === 2)) {
|
||||
item.insertAdjacentHTML("beforebegin", "<div style=\"max-width: 100%;justify-content: center;\" contenteditable=\"false\" class=\"protyle-breadcrumb__item\"><svg><use xlink:href=\"#iconMore\"></use></svg></div>");
|
||||
item.insertAdjacentHTML("beforebegin", '<div style="max-width: 100%;justify-content: center;" contenteditable="false" class="protyle-breadcrumb__item"><svg><use xlink:href="#iconMore"></use></svg></div>');
|
||||
}
|
||||
item.classList.add("fn__none");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue