-
Notifications
You must be signed in to change notification settings - Fork 845
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
Checkbox values are not being converted correctly in rich text pasting feature #2231
Comments
Use this Diffchecker link to see the differences between the two. |
I'll check if this could be an issue from Edit: I tested both HTML examples, and both gives to me exactly the |
I have copied the same content in a different way. The system clipboard API provided me with a different HTML, I will update this issue soon since I need more time to provide more specific details.
I didn't see the Can you explain what you tried? |
I forgot to mention it. Since I thought it might be a bug in the package, I ran my tests (obviously I added a test that has the HTML you passed as an example) and the Example Assume that i testing with the HTML with all |
Sure, but the issue can be either from the editor itself or from the HTML we're copying, which can be platfrom dependent and different based on the app, operating system. If the HTML from the platfrom Clipboard we're getting doesn't have the values we expect from what we've copying, then we will probably close this issue as unplanned. |
Is there an existing issue for this?
Flutter Quill version
10.6.0
Steps to reproduce
false
FlutterQuillExampleCheckboxRichTextPaste.mov
You might notice the steps are not very clear, as I haven't understood the exact steps to reproduce it as more testing is needed, I'm currently in the middle of another issue however the video should give some hints.
Expected results
Would be useful to support the checkbox as well when copy and paste content from websites/apps into the editor.
IMO, this is a minor issue.
If the issue from the clipboard platform API then we will close this issue.is
Actual results
Issue is related to #2230 but the same issue can happen regardless of the plugin implementation, this issue is not a regression in version
10.6.0
Code sample
No response
Additional Context
The HTML when all the checkboxes are checked:
The HTML when all the checkboxes are unchecked:
The text was updated successfully, but these errors were encountered: