mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-09 14:12:34 +01:00
✨ https://github.com/siyuan-note/siyuan/issues/8895 block attr
This commit is contained in:
parent
17055347db
commit
435ad45cb5
14 changed files with 258 additions and 186 deletions
|
|
@ -211,7 +211,7 @@ export class Gutter {
|
|||
}
|
||||
foldElement.classList.remove("protyle-wysiwyg--hl");
|
||||
} else if (window.siyuan.shiftIsPressed && !protyle.disabled) {
|
||||
openAttr(protyle.wysiwyg.element.querySelector(`[data-node-id="${id}"]`));
|
||||
openAttr(protyle.wysiwyg.element.querySelector(`[data-node-id="${id}"]`), "bookmark", protyle);
|
||||
} else {
|
||||
this.renderMenu(protyle, buttonElement);
|
||||
// https://ld246.com/article/1648433751993
|
||||
|
|
@ -1478,7 +1478,7 @@ export class Gutter {
|
|||
icon: "iconAttr",
|
||||
accelerator: window.siyuan.config.keymap.editor.general.attr.custom + "/" + updateHotkeyTip("⇧Click"),
|
||||
click() {
|
||||
openAttr(nodeElement);
|
||||
openAttr(nodeElement, "bookmark", protyle);
|
||||
}
|
||||
}).element);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue