BlockNote
BlockNote copied to clipboard
Parsing HTML to Blocks with error in <pre> tag
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')
Thanks for reporting! I was able to reproduce this. However, it's a pretty specific scenario - at the moment we can't prioritize this
This is correctly handled in the latest versions of blocknote