Skip to content
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

Multiple paragraphs Not working #63

Closed
wakaztahir opened this issue Jul 18, 2023 · 3 comments · Fixed by #64
Closed

Multiple paragraphs Not working #63

wakaztahir opened this issue Jul 18, 2023 · 3 comments · Fixed by #64

Comments

@wakaztahir
Copy link
Contributor

Here's the code where html

<p style="text-align: left;"><span style="font-weight: 700;">A Story</span></p><p style="text-align: left;"><span style="font-weight: 700;"></span></p><ul><li style="text-align: left;">something something something</li><li style="text-align: left;">Something something something</li><li style="text-align: left;">Something something something</li><li style="text-align: left;">Something something something</li></ul><p style="text-align: left;"></p><p style="text-align: center;">somethingsomething something something</p><p style="text-align: left;">something tomorrow something</p><p style="text-align: left;"><span style="font-weight: 700;">something like this</span></p><p style="text-align: left;"><span style="font-weight: 700;"></span></p><p style="text-align: right;"><span style="font-weight: 700;">something something something </span><span style="font-style: italic;">somethingsomething something something</span></p>

This html was generated for some text I wrote with multiple paragraphs with different alignment

@wakaztahir
Copy link
Contributor Author

wakaztahir commented Jul 18, 2023

It cuts off the html in the middle and doesn't display the second paragraph, The paragraphing is not stable, plus the library contains RichTextValue & RichTextState , RichSpanStyle & RichTextStyle , its confusing a little bit

I just discovered that the sample has hardcoded dependency and not on project's module so I haven't tried project module in main branch

@MohamedRejeb
Copy link
Owner

I will check this problem. RichTextValue and RichTextStyle are deprecated so it's not that confusing I guess. Also RichSpanStyle is internal.

@MohamedRejeb
Copy link
Owner

I published a new version 1.0.0-alpha02 that contains the fix, it should be available in a few minutes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants