Skip to content

RichText Viewer not able to handle more than 4950 characters #235

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

Open
harpreetsingh-chicmic opened this issue Mar 17, 2025 · 2 comments
Open
Labels
discussion Discussions not yet turned into an action

Comments

@harpreetsingh-chicmic
Copy link

harpreetsingh-chicmic commented Mar 17, 2025

When I use more than 5000 characters long attributed string in RichTextViewer in SwiftUI then it is showing simple text without any reason. So how can I resolve this ?

@danielsaidi danielsaidi added the discussion Discussions not yet turned into an action label Mar 20, 2025
@danielsaidi
Copy link
Owner

Does this happen when you use a plain UITextView as well?

@danielsaidi
Copy link
Owner

danielsaidi commented Apr 8, 2025

I tested the demo app with a pre-made attributed string and this is how both the RichTextEditor and the RichTextViewer looks on macOS with 10k+ characters:

Image

And this is how the same content with random styling looks on iOS:

Image

Please provide more context to help pinpoint what's causing your issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Discussions not yet turned into an action
Projects
None yet
Development

No branches or pull requests

2 participants