Hi all,
I have a prosemirror json document:
type: 'doc',
content: [
{ type: 'paragraph', content: [ { type: 'text', text: 'Ciao ' } ] },
{ type: 'paragraph' },
{
type: 'paragraph',
content: [
{
type: 'text',
marks: [ { type: 'strong' } ],
text: 'I am bold'
}
]
},
...
My goal is to convert it to plain text, assuming I’m not running a browser.
What are the steps I need? Do I need to write a custom parser/serializer?
Thanks