Skip to main content

MarkdownEditView

Implements MarkdownSubView, HoverParent, MarkdownFileInfo

This is the editor for Obsidian Mobile as well as the upcoming WYSIWYG editor.

Constructor​

constructor(view: MarkdownView);

Properties​

app​

app: App

hoverPopover​

hoverPopover: HoverPopover

Methods​

clear​

clear(): void;

get​

get(): string;

set​

set(data: string, clear: boolean): void;

getSelection​

getSelection(): string;

getScroll​

getScroll(): number;

applyScroll​

applyScroll(scroll: number): void;