Skip to content

Indents being added when using editor.tryParseHTMLToBlocks (and when copy and pasting) #1660

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

Closed
Paarth-K opened this issue May 5, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Paarth-K
Copy link

Paarth-K commented May 5, 2025

editor.tryParseHTMLToBlocks parses everything with an indent. Similar to bug #1651 and #1643

Whenever HTML blocks are parsed, something like this happens:
Image

I've tried multiple different versions by downgrading to 0.27.0 and every version in between. For whatever reason, it doesn't get fixed. I've tried older versions of browsers and various browsers and the issue persists. I don't know the cause for sure, but it could be a sub-dependency that, when updated, broke something in blocknote. The current version (in the screenshot) is 0.29.1.

@Paarth-K Paarth-K added the bug Something isn't working label May 5, 2025
@nperez0111
Copy link
Contributor

Closing as part of #1645

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants