We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
console.log(html); const contentBlock = htmlToDraft(html); contentBlock.contentBlocks.forEach(i => console.log(i.toJS()));
first console.log prints this
<ul> <li>sdf</li> </ul>
console.log for contentBlock prints this
characterList: (4) [{…}, {…}, {…}, {…}] data: {} depth: 0 key: "8fh3d" text: "sdf " type: "unordered-list-item"
as you see it adds extra space to text inside <li>
<li>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
first console.log prints this
console.log for contentBlock prints this
as you see it adds extra space to text inside
<li>
The text was updated successfully, but these errors were encountered: