Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

My Quill editor Bold Not work?

Other tool working except the bold, When I click bold my text still not get bold? I work on materialize. Can anyone help me? Thanks in advance.

like image 950
Eric Lou Avatar asked Sep 14 '17 12:09

Eric Lou


People also ask

Why is Quill not working?

If you are unable to load Quill, or the page is loading slowly, resetting your browser cache often fixes the issue. To clear your cache: On your Chrome browser, click the three vertical dots in the top right corner. Click More Tools, and then Clear Browsing Data.

How do you add color in react Quill?

At a bare minimum you can add an option for a "custom-color" in the toolbar, then customize the handler to check if "custom-color" was selected. From there you can do whatever you like. In the example below, I just show a prompt window to get the value. Thanks for sharing!

How do I change font size in react Quill?

import ReactQuill, { Quill } from 'react-quill'; let SizeStyle = Quill. import('attributors/style/size'); SizeStyle. whitelist = ["10px", "15px", "18px", "20px", "32px", "54px"] Quill. register(SizeStyle, true);


1 Answers

I fixed the issue with css, the css must be placed after the materializecss

 .ql-editor strong{
     font-weight:bold;
 }
like image 192
Juansei Avatar answered Sep 17 '22 13:09

Juansei