Skip to content
On this page

MarkdownEditView

实现 MarkdownSubView, HoverParent, MarkdownFileInfo

这是提供给移动端 Obsidian 的编辑器,也是即将推出的WYSIWYG编辑器。

Constructor

ts
constructor(view: MarkdownView);

Properties

app

ts
app: App

hoverPopover

ts
hoverPopover: HoverPopover

Methods

clear

ts
clear(): void;

get

ts
get(): string;

set

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

getSelection

ts
getSelection(): string;

getScroll

ts
getScroll(): number;

applyScroll

ts
applyScroll(scroll: number): void;