This commit is contained in:
parent
9166956057
commit
12a58b39a1
2 changed files with 2 additions and 2 deletions
|
@ -467,7 +467,7 @@ export class Backlink extends Model {
|
|||
}
|
||||
});
|
||||
editor.protyle.notebookId = liElement.getAttribute("data-notebook-id");
|
||||
searchMarkRender(editor.protyle, keyword.split(" "));
|
||||
searchMarkRender(editor.protyle, response.data.keywords);
|
||||
this.editors.push(editor);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@ export const reloadProtyle = (protyle: IProtyle, focus: boolean, updateReadonly?
|
|||
}, response => {
|
||||
protyle.options.backlinkData = isMention ? response.data.backmentions : response.data.backlinks;
|
||||
renderBacklink(protyle, protyle.options.backlinkData);
|
||||
searchMarkRender(protyle, keyword.split(" "));
|
||||
searchMarkRender(protyle, response.data.keywords);
|
||||
});
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue