Not sure where i’m doing wrong, but i have a custom node, that creates a span tag with attrs, and for some reason, the value of content set up as inline* makes the tag to trim the empty spaces, like this:
Any ideas or tips of what could be producing the trim?
I suppose? Not sure how i can determine that, i know that the set of the content of the editor is correct, it has the spaces but is lost at the parsing, as the resulted html by the editor doesn’t have the spaces. i’m using the tiptap flavor of prosemirror, and the node is extremely simple:
For anyone who has a similar problem, i ended up replacing spaces with and it worked out.
I am not sure if this actually fixes the root problem. I have a suspicion that there might be something wrong with your CSS. Did you try inspecting the html in dev tools? Is there some rogue white space CSS property active?