Skip to content
This repository has been archived by the owner on May 1, 2018. It is now read-only.

cwhite-connectfirst/quill-emoji

 
 

Repository files navigation

Quill Emoji Selector

Module extension for Quill.js that handles emojis in the toolbar. Through this extension, you can add emojis through the toolbar at the top, or by typing the emoji code.

Screenshot

To add an emoji via emoji code, type : followed by the first few letters, and an autocomplete menu will appear. You can then select or tab to the preferred emoji.

This module is still in active development

Installation

bower install quill-emoji
npm install quill-emoji

Usage

Webpack/ES6

const toolbarOptions = {
                        container: [
                            ['bold', 'italic', 'underline', 'strike'],
                            ['emoji'],   
                        ],
                        handlers: {'emoji': function() {}}
                        }
const quill = new Quill(editor, {
    // ...
    modules: {
        // ...
        toolbar: toolbarOptions,
        toolbar_emoji: true,
    }
});

Contributing

Please check out our contributing guidelines.

About

Quill module toolbar extension for emoji

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 75.3%
  • CSS 24.7%