-
Notifications
You must be signed in to change notification settings - Fork 836
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
[IOS] Paste from Note App not work for version 9.x.x (super_clipboard plugin) #1627
Comments
Is the issue specific to 9.0.5? because we didn't change anything in |
I think the issue is for 9.x.x when you Replace pasteboard with rich_cliboard |
I can try to fix it but I need ask some questions @singerdmx |
@ellet0 please test it will IOS |
@ellet0 and one more issue, after pasting a text, it always inserts the 04b833d620074c9bafa23d0e670f5ca1.mp4 |
That's known issue and we are woking on it, it happen only when copying styled text |
plz fix it, thanks! @ellet0 |
I just need a few questions from the old maintainers because they have ore experience with the repo than me, and then I will fix it correctly! |
This particular bug has been fixed in |
I still can't reproduce the original bug in the title |
@ellet0 I tested with version |
Hi, which bug exactly has been fixed? Or both? |
Both, the copy from Notes app bug and auto added |
Glad to hear that. If you have any questions, feel free to ask at any time! |
@ellet0 Hi, I think the issues are still there, I just tried again with example of version 4026628878281770902.mp4 |
Hi. We haven't published the fix yet. Please try the example and fetch the latest changes |
@ellet0 I tried the example on master branch |
The issue of the new line should be fixed in the master branch |
@ellet0 any update? |
The second issue should be fixed. The first issue still can't reproduce it |
Unfortunately, I can't debug on real iOS for now, I can reproduce the bug only on simulator which doesn't have Apple notes app |
How can I help? I have real devices (phones, iPads, Macs). |
In your app, add this plugin Setup it only for iOS for now, try to get the clipboard and get the contents as HTML if it can provide it, see how does the HTML looks like and send me the output |
OK, let me try. |
import 'package:super_clipboard/super_clipboard.dart';
// ...
final clipboard = SystemClipboard.instance;
if (clipboard == null) {
return; // Clipboard API is not supported on this platform.
}
final reader = await clipboard.read();
if (reader.canProvide(Formats.htmlText)) {
final html = await reader.readValue(Formats.htmlText);
print(html);
}
|
I just found an old iPhone, I will test it but I can't using the example, so I will have to on a real project that have signing setup properly |
I will be able to check this in the evening, if you will not have solution before then I will provide HTML clipboard content. |
You can try now 9.2.2 and see if it fix the bug, in my case it did |
Hi I just tested on iPad and looks ok too. I am not sure if there is no extra lines on top of text but for sure formating is removed. Thank you ! |
I think this can be closed. |
You're welcome. |
Is there an existing issue for this?
Flutter Quill version
9.0.5
Other Flutter Quill packages versions
flutter_quill: ^9.0.5
flutter_quill_extensions: ^9.0.5
Steps to reproduce
Expected results
It should be paste the text as normal
Actual results
The result after paste is containing the text styles like this
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
The text was updated successfully, but these errors were encountered: