Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.
This repository was archived by the owner on May 29, 2026. It is now read-only.

How do I insert an image during paste operation? #190

@arpitjp

Description

@arpitjp

Couldn't find any relevant api to insert image/text/markdown. Muya.setContent replaces everything.

I noticed a lot more functions in muya library that is packaged within marktext like insertImage, replaceImage and so on. But this standalone library lacks those.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurenew feature request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions