Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove Quill.js toolbar border?

Im using quilljs and would like to remove the border around the toolbar, i don't know how to select the right element but i have tried:

.ql-toolbar
   border: none
   shadow: none
   outline: none
like image 718
user8385652 Avatar asked Sep 06 '25 03:09

user8385652


1 Answers

For people coming with similar questions about quilljs borders, you could remove it by looking at the element via devtools -F12 and setting border to zero . Similarly you can remove other borders and manipulate other properties, not just the border

for example to remove borders of full editor

.ql-container.ql-snow{ border: none !important;}

why? because thats the element popping out in the dom Inspecting element

Also I was inspired from comments answer which was given by
Farid Vatani for removing toolbar borders

ql-toolbar.ql-snow { border: none !important;}
like image 85
Ajay Tom George Avatar answered Sep 07 '25 21:09

Ajay Tom George