I am having trouble to achieve having a text with nested quotes. For example, I would like to achieve this: “Lorem ‘ipsum’ dolor”
I started by creating a custom tag as follows
const doubleQuote = {
content: "block+",
group: "block",
toDOM() { return ["q", 0] },
parseDOM: [{tag: "q"}],
};
Unfortunately the code:
<q>
Lorem
<q>Ipsum<</q>
dolor
</q>
is transformed automatically to
<q>
<p>Lorem</p>
<q><p>Ipsum</p></q>
<p>dolor</p>
</q>
Is there any way to get rid of the paragraphs, so I can have my text in a row?