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

Fix new customized paste options #315

Merged
merged 1 commit into from
Apr 29, 2021
Merged

Conversation

ustacryptact
Copy link
Contributor

@ustacryptact ustacryptact commented Apr 8, 2021

The PR #310 allows new customized paste options, which is a great addition

However, there are some issues.

  1. If multiple is passed false to the ReactMde component, this.props.paste.multiple || true evaluates into true anyway.
  2. active and multiple only affects file input component, it doesn't help with drag and drop/paste events.

This PR fixes those issues.

@andrerpena andrerpena merged commit f6d982a into andrerpena:master Apr 29, 2021
@andrerpena
Copy link
Owner

Thank you very much

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

Successfully merging this pull request may close these issues.

2 participants