Jan 24, 2018
0
Level 2
WISIWYG Editor
How to add font size in Quill editor and also how to get data from the textarea form??
//Textarea
{!! Form::label('about','Description')!!} <div id="editor"></div>
</div>
//Javascipt code for Editor
var quill = new Quill('#editor', {
modules: {
toolbar: [
[{ 'font': [] }],
[{ header: [1, 2, 3, false] }],
['bold', 'italic', 'underline'],
['image', 'code-block'],
[{ 'align': [] }],
]
},
placeholder: 'Compose an epic...',
theme: 'snow' // or 'bubble'
});
</script>
Please or to participate in this conversation.