Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header 3 and 4 icons not being displayed in 2.0.0 #4130

Closed
dinukapj opened this issue Apr 20, 2024 · 0 comments
Closed

Header 3 and 4 icons not being displayed in 2.0.0 #4130

dinukapj opened this issue Apr 20, 2024 · 0 comments

Comments

@dinukapj
Copy link

dinukapj commented Apr 20, 2024

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>

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants