@uniquegood/quill-color-picker-enhance
Improve quill color picker feature to make it easier to see the currently selected color and custom picker
Features
How to setup
SnowTheme
import Quill from 'quill';
import { SnowTheme } from '@uniquegood/quill-color-picker-enhance';
import '@uniquegood/quill-color-picker-enhance/src/style/index.css';
Quill.register('themes/snow-quill-color-picker-enhance', SnowTheme);
const quill = new Quill('#editor-container', {
modules: {
toolbar: [{ color: [] }, { background: [] }]
},
theme: 'snow-quill-color-picker-enhance'
});
Bubble Theme
TODO
Script Tag
Copy dist/index.min.js
into your web root or include from node_modules
<script src="/node_modules/@uniquegood/quill-color-picker-enhance/index.min.js"></script>
Quill.register('themes/snow-quill-color-picker-enhance', QuillColorPickerEnhance.SnowTheme);
Please use the theme snow-quill-color-picker-enhance
.