mirror of
https://github.com/rmellmer/obsidian-link-range.git
synced 2026-07-22 07:40:31 +00:00
update for plugin name change
This commit is contained in:
parent
b5af9b4fe6
commit
af53f817c4
1 changed files with 2 additions and 2 deletions
4
main.ts
4
main.ts
|
|
@ -4,7 +4,7 @@ import { ViewPlugin } from "@codemirror/view";
|
|||
import { DEFAULT_SETTINGS, LinkRangeSettings, LinkRangeSettingTab } from 'src/settings';
|
||||
import { linkRangePostProcessor } from 'src/markdownPostProcessor';
|
||||
import { checkLink } from 'src/utils';
|
||||
import { LinkRangeView } from 'src/linkRangeView';
|
||||
import { LifePreviewEmbedReplacer } from 'src/livePreviewEmbedReplacer';
|
||||
import { buildCMViewPlugin } from 'src/livePreviewDisplayView';
|
||||
import { Prec } from "@codemirror/state";
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ export default class LinkRange extends Plugin {
|
|||
// wait for layout to be ready
|
||||
this.app.workspace.onLayoutReady(() => {
|
||||
this.registerEditorExtension(ViewPlugin.define((v) => {
|
||||
return new LinkRangeView(this.settings, this.app)
|
||||
return new LifePreviewEmbedReplacer(this.settings, this.app)
|
||||
}));
|
||||
|
||||
const ext = Prec.lowest(buildCMViewPlugin(this.app, this.settings));
|
||||
|
|
|
|||
Loading…
Reference in a new issue