I’m trying to convert the prosemirror object to plain-text by extracting content parts on each level. However, when I use getter
textContent, it doesn’t work and returns undefined. What method should I use to receive only content in a string (with separators would be better)?
I do so
const transformer = new Transform(node) const content = transformer.doc.textContent.toString()