@ -28,7 +28,7 @@ module.exports = {
this.helper.className = pfx + 'off-prv fa fa-eye-slash';
editorEl.appendChild(this.helper);
this.helper.onclick = () => {
that.stop(editor);
editor.stopCommand('preview');
};
}
this.helper.style.display = 'inline-block';
@ -82,7 +82,7 @@ module.exports = ComponentView.extend({
// Avoid re-render on reset with silent option
model.set('content', '');
model.set('content', '').trigger('change:content', model);
comps.add(content);
comps.each(model => clean(model));
comps.trigger('resetNavigator');