-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
Cant hide toolbar #516
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I switched to Tiptap but this issue should still stay open as it is not fixed. Stale bot is the worst. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not fixed still, please dont close unfixed issues |
I solved this issue by hiding the toolbar with css.Here is an example css code to hide the toolbar: .without-toolbar .ql-toolbar {
display: none !important;
border: 0 !important;
}
.without-toolbar .my-quill,
.without-toolbar .ql-editor.ql-blank {
padding: 0 !important;
padding-left: 8px !important;
border: 0 !important;
} Here is my html code: <QuillEditor
v-model:content="text"
contentType="html"
ref="editor"
class="my-quill"
@ready="focus"
placeholder="Description..."
:toolbar=" [
[{ font: [] }, { size: [] }],
['bold', 'italic', 'underline', 'strike'],
[{ color: [] }, { background: [] }],
[{ header: '1' }, { header: '2' }, 'blockquote', 'code-block'],
[{ list: 'ordered' }, { list: 'bullet' }, { indent: '-1' }, { indent: '+1' }],
['link', 'image'],
]"
theme="snow"
:modules="quillModules"
/> I achieved to hide the toolbar with this solution. |
Version
@vueup/vue-quill: ^1.2.0
Describe the bug
I tried to hide the toolbar:
But it results in an error:
Browser (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: