2 ms·
which is what happens at https://react-prosemirror-example.now.sh/ https://react-prosemirror-example.now.sh/ wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww -> { "type": "
by kiriakasis 8y ago
which is what happens at https://react-prosemirror-example.now.sh/ https://react-prosemirror-example.now.sh/
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww ->
{
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww"
},
{
"type": "hard_break"
}
]
}
]
}
and with bold in the middle
{
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "wwwwwwwwwwwwww"
},
{
"type": "text",
"marks": [
{
"type": "strong"
}
],
"text": "w"
},
{
"type": "text",
"text": "wwwwwwwwwwwwwwwww"
},
{
"type": "hard_break"
}
]
}
]
}
This is not to say that is is a bad format, essentially XML does the same from an API level and maybe being explicit about it is good, but for sure is feels a bit different (again, do not want to express a better or worse).
Overall I am happy from the simple fact that it does not have the overused "Markup Language" in the name.