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

feat(clipboard): allow to write images on web plugin #2523

Merged
merged 1 commit into from
Mar 4, 2020

Conversation

jcesarmobile
Copy link
Member

This allows clipboard plugin to write images
Also fixes read of images, which wasn't working

@jcesarmobile jcesarmobile merged commit 5ba2a20 into ionic-team:master Mar 4, 2020
@jcesarmobile jcesarmobile deleted the clipboard-web-fix branch March 4, 2020 18:26
@@ -22,10 +23,24 @@ export class ClipboardPluginWeb extends WebPlugin implements ClipboardPlugin {
return Promise.reject('Clipboard API not available in this browser');
}

if (options.string !== undefined || options.url) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jcesarmobile Have you changed this line on purpose? This might have reintroduced issue #2366

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, sorry, will fix it tomorrow as I’m working in other clipboard changes

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be fixed again by #2527

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