swift-markdown-ui icon indicating copy to clipboard operation
swift-markdown-ui copied to clipboard

Selectable text on iOS

Open matiaskorhonen opened this issue 3 years ago • 1 comments

The release notes for 1.0.0 include “Added: Make text not selectable on iOS” but I have some text that I'd like to be selectable. Is this possible? I couldn't figure it out on my own…

matiaskorhonen avatar Mar 17 '22 10:03 matiaskorhonen

Hi @matiaskorhonen, Sorry for the late response. This is currently not possible. I will consider this in a future release.

gonzalezreal avatar Apr 14 '22 06:04 gonzalezreal

MarkdownUI 2 supports text selection via the .textSelection() modifier. https://github.com/gonzalezreal/swift-markdown-ui/releases/tag/2.0.0

gonzalezreal avatar Jan 22 '23 17:01 gonzalezreal