Skip to content

Commit

Permalink
fix #846, fix #847
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Aug 8, 2016
1 parent 74a7171 commit 918eadf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ function normalizeDelta(delta) {
delete attributes['image'];
return delta.insert({ image: op.attributes.image }, attributes);
}
if (op.attributes != null && (op.attributes.list || op.attributes.bullet)) {
if (op.attributes != null && (op.attributes.list === true || op.attributes.bullet === true)) {
op = clone(op);
if (op.attributes.list) {
op.attributes.list = 'ordered';
Expand Down

0 comments on commit 918eadf

Please sign in to comment.