Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

quill js laravel

<div id="quill_editor"></div>
<input type="hidden" id="quill_html" name="name"></input>

<script>
    	var quill = new Quill('#quill_editor', {
        		theme: 'snow'
    	});
   quill.on('text-change', function(delta, oldDelta, source) {
        document.getElementById("quill_html").value = quill.root.innerHTML;
    });
</script>
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #quill #js #laravel
ADD COMMENT
Topic
Name
6+1 =