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.
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.
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!
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);
I fixed the issue with css, the css must be placed after the materializecss
.ql-editor strong{
font-weight:bold;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With