FreeChat icon indicating copy to clipboard operation
FreeChat copied to clipboard

Response text should be easily selectable

Open psugihara opened this issue 1 year ago • 5 comments

Currently you can only select text 1 paragraph at a time due to the markdown package we use. This is incredibly annoying! There's an issue tracking that here but no line of sight to a solution https://github.com/gonzalezreal/swift-markdown-ui/issues/264

An alternative to get this functionality could be to use libcmark_gfm directly like FSNotes does here then put the resulting HTML in a web view. https://github.com/glushchenko/fsnotes/blob/2d15de3f8148eba312fd3552e86725f264f1497b/FSNotes/Business/Markdown.swift#L13

Maybe there's an even better solution, idk

psugihara avatar Oct 17 '23 19:10 psugihara