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
When i add content use pasteHTML i have wrong.
var $contents = $('<ul><li>dfgdgfg<li><li class="ql-indent-1">dfgdgfg<li></ul>'); quill.pasteHTML(0, $contents[0].outerHTML);
result inserted "ordered" instaed "bullet" list.
I looked for code :
applyDelta: .... delta = normalizeDelta(delta);
normalizeDelta: .... if (op.attributes != null && (op.attributes.list || op.attributes.bullet)) { op = (0, _clone2.default)(op); if (op.attributes.list) { op.attributes.list = 'ordered'; } else { op.attributes.list = 'bullet'; delete op.attributes.bullet; } }
Why
if (op.attributes.list) { op.attributes.list = 'ordered'; }
?
In result "bullet" replace "ordered"?
The text was updated successfully, but these errors were encountered:
#847
Sorry, something went wrong.
No branches or pull requests
When i add content use pasteHTML i have wrong.
result inserted "ordered" instaed "bullet" list.
I looked for code :
Why
?
In result "bullet" replace "ordered"?
The text was updated successfully, but these errors were encountered: