Describe the bug
The block elements of code / quote must merge into one block
They have common styles, separating them into lines violates the markup
The delta code which generates the Problem
Example:
{ "ops": [ { "insert": "Just text\n" }, { "attributes": { "bold": true }, "insert": "Quo" }, { "insert": "te" }, { "attributes": { "blockquote": true }, "insert": "\n" }, { "insert": "Quote2" }, { "attributes": { "blockquote": true }, "insert": "\n" }, { "insert": "\nThis is" }, { "attributes": { "code-block": true }, "insert": "\n" }, { "insert": "Code" }, { "attributes": { "code-block": true }, "insert": "\n" }, { "insert": "sdfsdfds" }, { "attributes": { "blockquote": true }, "insert": "\n" } ] }
The expected html output the delta should produce
Example:
<p>Just text</p>
<blockquote><strong>Quo</strong>te</blockquote>
<blockquote>Quote2</blockquote>
<p><br></p>
<pre><code>This is</code></pre>
<pre><code>Code</code></pre>
<blockquote>sdfsdfds</blockquote>
Expected behavior
I expect the entire block of code to be in one tag:
<p>Just text</p>
<blockquote><strong>Quo</strong>te<br>
Quote2</blockquote>
<p><br></p>
<pre><code>This is<br>
Code</code></pre>
<blockquote>sdfsdfds</blockquote>
Describe the bug
The block elements of code / quote must merge into one block
They have common styles, separating them into lines violates the markup
The delta code which generates the Problem
Example:
The expected html output the delta should produce
Example:
Expected behavior
I expect the entire block of code to be in one tag: