quill-color-picker-enhance
TypeScript icon, indicating that this package has built-in type declarations

1.1.5 • Public • Published

quill-color-picker-enhance

npm-image

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.

Package Sidebar

Install

npm i quill-color-picker-enhance

Weekly Downloads

277

Version

1.1.5

License

MIT

Unpacked Size

2.84 MB

Total Files

11

Last publish

Collaborators

  • ug.yechan
  • muhun-uniquegood