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

inline style bold is not getting converted. #80

Open
edwinbbu opened this issue May 12, 2020 · 3 comments
Open

inline style bold is not getting converted. #80

edwinbbu opened this issue May 12, 2020 · 3 comments

Comments

@edwinbbu
Copy link

this HTML code <b>bold</b> is not getting added in draft inlineStyleRanges: [].

But when I give <span style="font-weight:bold;">bold</span> inline style: "BOLD" is getting added in inlineStyleRanges.

@levi-art-rules
Copy link

bold and strikethrough are not getting added.

@grzegorzCieslik95
Copy link

I have the same problem with background-color, have you solution for that?

@edwinbbu
Copy link
Author

edwinbbu commented Jan 6, 2021

I didn't find a solution. I used regex to replace the final html.

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

3 participants