mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-29 11:46:09 +01:00
This commit is contained in:
parent
59aa3fc383
commit
a2ffb2a21c
3 changed files with 8 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ export const reloadProtyle = (protyle: IProtyle, focus: boolean) => {
|
|||
const isMention = protyle.element.getAttribute("data-ismention") === "true";
|
||||
const tabElement = hasClosestByClassName(protyle.element, "sy__backlink");
|
||||
if (tabElement) {
|
||||
const inputsElement = tabElement.querySelectorAll(".b3-form__icon-input") as NodeListOf<HTMLInputElement>;
|
||||
const inputsElement = tabElement.querySelectorAll(".b3-text-field") as NodeListOf<HTMLInputElement>;
|
||||
fetchPost(isMention ? "/api/ref/getBackmentionDoc" : "/api/ref/getBacklinkDoc", {
|
||||
defID: protyle.element.getAttribute("data-defid"),
|
||||
refTreeID: protyle.block.rootID,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue