mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-03 03:10:16 +01:00
🚨
This commit is contained in:
parent
0db516e4b9
commit
2eb89f0673
5 changed files with 16 additions and 16 deletions
|
|
@ -1160,7 +1160,7 @@ export class Toolbar {
|
|||
<div class="b3-list fn__flex-1 b3-list--background" style="position: relative">${html}</div>
|
||||
</div>`;
|
||||
|
||||
const listElement = this.subElement.lastElementChild.lastElementChild as HTMLElement
|
||||
const listElement = this.subElement.lastElementChild.lastElementChild as HTMLElement;
|
||||
const inputElement = this.subElement.querySelector("input");
|
||||
inputElement.addEventListener("keydown", (event: KeyboardEvent) => {
|
||||
event.stopPropagation();
|
||||
|
|
@ -1463,7 +1463,7 @@ export class Toolbar {
|
|||
<input style="margin: 0 8px 4px 8px" class="b3-text-field"/>
|
||||
<div class="b3-list fn__flex-1 b3-list--background" style="position: relative"><img style="margin: 0 auto;display: block;width: 64px;height:64px" src="/stage/loading-pure.svg"></div>
|
||||
</div>`;
|
||||
const listElement = this.subElement.lastElementChild.lastElementChild as HTMLElement
|
||||
const listElement = this.subElement.lastElementChild.lastElementChild as HTMLElement;
|
||||
const inputElement = this.subElement.querySelector("input");
|
||||
inputElement.addEventListener("keydown", (event: KeyboardEvent) => {
|
||||
event.stopPropagation();
|
||||
|
|
|
|||
|
|
@ -483,7 +483,7 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, isUndo:
|
|||
} else if (key === "memo") {
|
||||
memoHTML = `<div class="protyle-attr--memo b3-tooltips b3-tooltips__sw" aria-label="${escapeHTML}"><svg><use xlink:href="#iconM"></use></svg></div>`;
|
||||
} else if (key === "custom-avs") {
|
||||
memoHTML = `<div class="protyle-attr--av"><svg><use xlink:href="#iconDatabase"></use></svg></div>`;
|
||||
memoHTML = "<div class=\"protyle-attr--av\"><svg><use xlink:href=\"#iconDatabase\"></use></svg></div>";
|
||||
}
|
||||
});
|
||||
let nodeAttrHTML = bookmarkHTML + nameHTML + aliasHTML + memoHTML;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue