lexical
lexical copied to clipboard
Question: Is it possible for TextNode to not wrap raw text with <span> ?
For example a html generated can look like
<p dir="ltr">
<span style="white-space: pre-wrap;">Test </span>
<b><strong style="white-space: pre-wrap;">Test</strong></b>
</p>
is it possible to remove the <span style="white-space: pre-wrap;">
all together and have it just be a raw HTML Text Node without the span wrapping?