-
Notifications
You must be signed in to change notification settings - Fork 76
Feature/paste image and text from clipboard #129 #173
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
base: main
Are you sure you want to change the base?
Feature/paste image and text from clipboard #129 #173
Conversation
|
Still working on a way to bypass the toolbar paste and right-click paste on web |
|
@gspencergoog can you help us out here? |
|
To run the workflows? Sure. |
|
@gspencergoog cam upi help us figure out how to cover all of the basis for UI gestures, keyboard shortcuts and mouse gestures to enable image pasting across desktop, web and mobile as detailed here? |
|
Sorry, I'd like to, but I'm a bit busy at the moment. Maybe ask the framework team to help? |
|
Thanks, @gspencergoog . @Piinks -- any thoughts here? what's the right way to be able to paste an image in across platforms in Flutter and hit all of the UI gestures, e.g. Ctrl/Cmd+V, right-click Paste, menu Paste, etc.? thanks! |
|
Hey @csells! I am not sure I understand the question, what are you looking for help with? |
|
Hey Kate! The PR adds support for pasting images and text from the clipboard across platforms (desktop, mobile, web) in Flutter. @DeTuksa lists the places that image-pasting works, but he's still working on covering all paste methods — particularly toolbar-paste and right-click paste on web. So basically: how do we override right-click / toolbar Paste on the web so we can do an image paste? |
Good question! I do not know this. I will see if I can find out! |
|
@csells Have you tried using the package super_clipboard? https://pub.dev/packages/super_clipboard |
|
thanks, @loic-sharma . that looks pretty great! @DeTuksa do you want to take a look? |
|
Sure, thanks @csells. I'll check it out |
|
@csells the super_clipboard package came in really handy. Pasting now works across all platforms. On MacOS, pasting from Edit on toolbar still doesn't work, but the problem isn't limited to just pasting as it includes copying, cutting and select all. |
|
oh jeez. good catch on the copy/paste issues on editing. is that something you can track down, too? |
|
Totally. I'll dig into the issue as well and see what I can do. |
This PR addresses pasting images into the textfield and preserving pasting of text. #129
Mobile Check:
Desktop Check:
Web Check:
Pre-launch Checklist
///).