Skip to content
This repository was archived by the owner on Aug 3, 2025. It is now read-only.
This repository was archived by the owner on Aug 3, 2025. It is now read-only.

Editor insert image from camera, photo library or files #3

@toddheasley

Description

@toddheasley

Editor toolbar .insertImage(_ src:) popover menu add support for:

  • Capture image with camera (wrapped in SwiftUI), if camera
  • Pick image from photo library using PhotosPicker
  • Pick image from files using .fileImporter(isPresented:)

TBD Where do picked/captured images get copied to, relative to the document? (The URL/path gets hardcoded into the Markdown/HTML.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions