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

RichTextState with setHtml removes spaces between words #391

Open
mianaliasjad opened this issue Oct 8, 2024 · 4 comments
Open

RichTextState with setHtml removes spaces between words #391

mianaliasjad opened this issue Oct 8, 2024 · 4 comments

Comments

@mianaliasjad
Copy link

First, write two words with one space between them then make each word bold separately. Then get the html from state which would be <p><b>hello</b> <b>world</b></p>

now richTextState.setHtml("<p><b>hello</b> <b>world</b></p>") and the resulting text that shows in OutlinedRichTextEditor would have no space between two wrods.

SVID_20241008_140053_1.mp4
@mianaliasjad
Copy link
Author

perform any editing style separately on two words the issue will be the same as above. So its not just limited to bold only.

@ViktorMorgachev
Copy link

ViktorMorgachev commented Oct 28, 2024

I have some problem

@orkndev
Copy link

orkndev commented Nov 4, 2024

@MohamedRejeb same problem

@MohamedRejeb
Copy link
Owner

Thanks for opening this issue, I'm working on it.

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

No branches or pull requests

4 participants