Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a prop to disable link pasting in MarkdownEditor #2363

Closed
iansan5653 opened this issue Sep 23, 2022 · 0 comments · Fixed by #2368
Closed

Add a prop to disable link pasting in MarkdownEditor #2363

iansan5653 opened this issue Sep 23, 2022 · 0 comments · Fixed by #2368
Assignees
Labels

Comments

@iansan5653
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants