-
Notifications
You must be signed in to change notification settings - Fork 244
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
Can only select text from one paragraph at a time #264
Comments
Hi @everuribe, This is a known issue of MarkdownUI. The current implementation combines multiple |
Thanks for the context! I guess it relies on newlines to be able to switch to a different markdown type and therefore view but maybe we can detect if it's just a continuation of the same markdown type and keep it in the same |
It's a bit more complicated than that. It doesn't rely on newlines, as spacing is configurable per block. On top of that, styling adds yet another layer of indirection. Regarding code blocks, those are rendered in a single view, so it works as you would expect. As a workaround, you could add a gesture to the |
I found it's not working on Mac Catalyst |
Describe the bug
When multiple paragraph strings are presented in a
MarkdownUI
view, the user can only select text from one paragraph at a time.Checklist
main
branch of this package.Steps to reproduce
Explanation of how to reproduce the incorrect behavior. This could include an attached project, a link to code, or a Markdown-formatted text exhibiting the issue.
Expected behavior
Should be able to select across all paragraphs (except maybe if broken up by a different markdown section type)
Screenshots
Version information
The text was updated successfully, but these errors were encountered: