Inline code not convert properly when the code contain additional format
Opened this issue · 0 comments
drgx commented
The example use case is this:
the ops
[
{
"insert": {
"type": "text",
"value": "this is "
},
"attributes": {
"code": true
}
},
{
"insert": {
"type": "text",
"value": "code"
},
"attributes": {
"bold": true,
"code": true
}
}
]
Current default implementation will return
<code>This is</code> <strong></code>Code</code></strong>
The default renderer causing two separate code tag instead of single code block.
The expected renderer result should be
<code>This is <strong>Code</strong></code>
Expected renderer