Skip to content

Commit

Permalink
replace this.manager with this.renderedBlockLinkSuggestionsComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
RyotaUshio committed Dec 11, 2023
1 parent 05e98bf commit 393f0c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default class EnhancedLinkSuggestionsPlugin extends Plugin {

render(el, async (containerEl) => {
containerEl.setAttribute('data-line', item.node.position.start.line.toString());
await MarkdownRenderer.render(app, text, containerEl, item.file.path, this.manager);
await MarkdownRenderer.render(app, text, containerEl, item.file.path, this.renderedBlockLinkSuggestionsComponent);
containerEl.querySelectorAll('.copy-code-button').forEach((el) => el.remove());
});
}
Expand Down

0 comments on commit 393f0c6

Please sign in to comment.