quill
quill copied to clipboard
Header 3 and 4 icons not being displayed in 2.0.0
Originally posted here: #2206 and #3141 and it was mentioned that the fix is included in 2.0.0
Still happens in 2.0.0.
Markup:
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/quill.snow.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/quill.js"></script>
...
<script>
const toolbarOptions = [
['bold', 'italic', 'underline', 'strike'],
['blockquote', 'code-block'],
['link', 'image'],
[{ 'header': 1 }, { 'header': 2 }, { 'header': 3 }, { 'header': 4 }],
[{ 'list': 'ordered' }, { 'list': 'bullet' }, { 'list': 'check' }],
[{ 'script': 'sub' }, { 'script': 'super' }]
];
const quill = new Quill('#editor', {
modules: {
toolbar: toolbarOptions
},
placeholder: 'Compose module content',
theme: 'snow'
});
</script>