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
Steps for Reproduction
<strong>one</strong> <ol> <li>two</li> <li>three</li> </ol>
Expected behavior:
The editor should show:
one two three
one
Actual behavior:
The editor displays this instead:
onetwo three
This happens if there is a newline between the <strong> element and the <ol>. For example, it works if the newline isn't there:
<strong>
<ol>
// Good quill.clipboard.dangerouslyPasteHTML('<strong>one</strong><ol><li>two</li><li>three</li></ol>') <p><strong>one</strong></p><ol><li>two</li><li>three</li></ol>
But the position of the <strong> shifts into the <ol> when there's a newline:
// Bad quill.clipboard.dangerouslyPasteHTML('<strong>one</strong>\n<ol><li>two</li><li>three</li></ol>') <ol><li><strong>one</strong>two</li><li>three</li></ol>
Pasting the example works fine in other WYSIWYG editors like Trix.
Platforms: Chrome, macOS Version: 1.3.7
The text was updated successfully, but these errors were encountered:
Hey @luin is it a valid bug? if yes can I try fixing this?
Sorry, something went wrong.
@Shubhdeep12 Yeah looks like a bug.
Ok thanks for the confirmation @luin , i'll push a fix for this.
Added strong and italic tag in inline element list slab#3812
3e4881d
Hi @luin added a PR with fix. Thanks cc @benbro
Successfully merging a pull request may close this issue.
Steps for Reproduction
Expected behavior:
The editor should show:
Actual behavior:
The editor displays this instead:
This happens if there is a newline between the
<strong>
element and the<ol>
. For example, it works if the newline isn't there:But the position of the
<strong>
shifts into the<ol>
when there's a newline:Pasting the example works fine in other WYSIWYG editors like Trix.
Platforms: Chrome, macOS
Version: 1.3.7
The text was updated successfully, but these errors were encountered: