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

Parsing HTML to Blocks with error in <pre> tag #1415

Open
xuliuzhu1834 opened this issue Feb 5, 2025 · 0 comments
Open

Parsing HTML to Blocks with error in <pre> tag #1415

xuliuzhu1834 opened this issue Feb 5, 2025 · 0 comments

Comments

@xuliuzhu1834
Copy link

https://www.blocknotejs.org/examples/interoperability/converting-blocks-from-html

input html

<pre>
  L          TE
    A       A
      C    V
       R A
       DOU
       LOU
      REUSE
      QUE TU
      PORTES
    ET QUI T'
    ORNE O CI
     VILISÉ
    OTE-  TU VEUX
     LA    BIEN
    SI      RESPI
            RER       - Apollinaire
</pre>

output error :
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'firstChild')

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

1 participant