We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
<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>
The text was updated successfully, but these errors were encountered:
Currently i can not take a deeper look into this, maybe you like to send a PR, maybe its also by the bad design of quill json.
Sorry, something went wrong.
Hi!
quill json works well with this
If I understand correctly, this is very similar to the logic of working with ul/li tags
No branches or pull requests
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:
The text was updated successfully, but these errors were encountered: