Cloudlog/assets/js/sections/notes.js

8 wiersze
182 B
JavaScript

var quill = new Quill('#quillArea', {
placeholder: 'Compose an epic...',
theme: 'snow'
});
$("#notes_add").on("submit",function(){
$("#hiddenArea").val(quill.root.innerHTML);
})