1.1.5 • Published 3 years ago
quill-color-picker-enhance v1.1.5
quill-color-picker-enhance
Features
custom color picker
Improved color picker labels to make it easier to see the currently selected color
before after
How to setup
SnowTheme
import Quill from 'quill';
import { SnowTheme } from 'quill-color-picker-enhance';
import 'quill-color-picker-enhance/dist/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/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.
quill-color-picker-enhance is primarily distributed under the terms of the MIT license. See LICENSE for details.