DroppyMarkdownEditor

Droppy's markdown editing surface.

@MainActor struct DroppyMarkdownEditor

Inside Droppy this mounts the same editor Notes and Obsidian use, with the host managing the TextKit stack. Outside Droppy (for example in the dev harness) it renders a plain TextEditor fallback: honest for layout work, not a preview of host editing behavior.

Initializers

init(text:)

@MainActor init(text: Binding<String>)

Creates a plain editor bound to markdown text.

init(text:context:)

@MainActor init(text: Binding<String>, context: DroppyMarkdownEditorContext)

Creates an editor with the full host context (DroppyKit 0.2.2).

Properties

body

@MainActor var body: some View { get }