lib/quill/rails/templates/template.html.erb in quill-rails-0.1.2 vs lib/quill/rails/templates/template.html.erb in quill-rails-0.1.3
- old
+ new
@@ -123,9 +123,9 @@
},
theme: 'snow'
});
fullEditor.on('text-change', function(delta, source) {
- document.getElementById('<%= @input_id %>').value = fullEditor.getContents()
+ document.getElementById('<%= @input_id %>').value = fullEditor.getHTML()
});
</script>
</div>