diff --git a/src/Editor.js b/src/Editor.js index 1cb4c9a6d..9c9425c77 100644 --- a/src/Editor.js +++ b/src/Editor.js @@ -68,7 +68,7 @@ var Editor=function(editable, attr, format, editorClass, defaultValue){ attr.className = attr.className.replace('form-control',''); attr.className += ' checkbox pull-right'; - let checked = defaultValue == values.split(':')[0]?true:false; + let checked = defaultValue.toString() == values.split(':')[0]?true:false; return (