Skip to content

Add a prop to disable link pasting in MarkdownEditor #2363

Description

@iansan5653

The paste-markdown package was recently updated to add settings to control link-pasting behavior.

We should add a corresponding prop to the MarkdownEditor component to forward this setting out so that consumers can control the behavior. In downstream usages, this prop will be powered by the new "URL paste behavior" accessibility user setting.

This should be a pretty lightweight change to the draft MarkdownEditor component.

This blocks github/memex#12266

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions