From 918eadf27c058f0f07ca33787ea61a37284bf770 Mon Sep 17 00:00:00 2001 From: Jason Chen Date: Mon, 8 Aug 2016 12:07:34 -0700 Subject: [PATCH] fix #846, fix #847 --- core/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/editor.js b/core/editor.js index d5f564d64a..5dd1c70c77 100644 --- a/core/editor.js +++ b/core/editor.js @@ -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';