We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
thanks for this library. But I couldn't get the toolbar to work.
Here's the code I'm using:
import Quill from "quill"; import QuillResize from "quill-resize-module"; import 'quill-resize-module/dist/resize.css'; Quill.register("modules/resize", QuillResize); const fullToolbarOptions = [ [{ header: [1, 2, 3, false] }], ["bold", "italic", "underline"], [{ 'list': 'ordered'}, { 'list': 'bullet' }], [{ 'align': [] }], ["blockquote"], ["image", "video"], ]; const quill = new Quill("#editor", { theme: "snow", modules: { toolbar: { container: fullToolbarOptions }, resize: { modules: [ 'Resize', 'DisplaySize', 'Toolbar' ], }, } });
Here's what it looks like and the error I'm getting. The resize and image size works perfectly. It's just the toolbar not showing up:
I even tried with the style options but no luck:
resize: { modules: [ 'Resize', 'DisplaySize', 'Toolbar' ], toolbarStyles: { backgroundColor: 'black', border: 'none', color: 'white' }, toolbarButtonStyles: { }, toolbarButtonSvgStyles: { }, },
The text was updated successfully, but these errors were encountered:
No branches or pull requests
thanks for this library. But I couldn't get the toolbar to work.
Here's the code I'm using:
Here's what it looks like and the error I'm getting. The resize and image size works perfectly. It's just the toolbar not showing up:
I even tried with the style options but no luck:
The text was updated successfully, but these errors were encountered: