mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-15 19:48:06 +01:00
🎨 The backlink panel no longer displays child-block references https://github.com/siyuan-note/siyuan/issues/12861
This commit is contained in:
parent
ae32c69bdd
commit
e2b2d46a47
4 changed files with 12 additions and 21 deletions
|
|
@ -437,7 +437,7 @@ export class Backlink extends Model {
|
|||
defID: this.blockId,
|
||||
refTreeID: docId,
|
||||
keyword: isMention ? this.inputsElement[1].value : this.inputsElement[0].value,
|
||||
containChildren: true
|
||||
containChildren: false
|
||||
}, (response) => {
|
||||
svgElement.removeAttribute("disabled");
|
||||
svgElement.classList.add("b3-list-item__arrow--open");
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ export const reloadProtyle = (protyle: IProtyle, focus: boolean, updateReadonly?
|
|||
defID: protyle.element.getAttribute("data-defid"),
|
||||
refTreeID: protyle.block.rootID,
|
||||
keyword: isMention ? inputsElement[1].value : inputsElement[0].value,
|
||||
containChildren: true
|
||||
containChildren: false
|
||||
}, response => {
|
||||
protyle.options.backlinkData = isMention ? response.data.backmentions : response.data.backlinks;
|
||||
renderBacklink(protyle, protyle.options.backlinkData);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue