Skip to content

MissAllSunday/summernoteEmoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

summernoteEmoji

A simple emoji dropdown plugin for summernote editor

It inserts raw emojis, no images or icons.

Usage

include lib/summernoteEmoji.js and add sEmoji to summernote toolbar:

$('.summernote').summernote({ toolbar:[ ['insert', ['sEmoji']] ] });

Options

$.extend($.summernote.options, {
  sEmoji: {
    icon: 'πŸ˜€',
    tooltip: 'Insert Emoji',
    list: ['πŸ˜€', 'πŸ˜ƒ', 'πŸ˜‚', '😊', 'πŸ˜‰', 'πŸ˜‹', '😎', 'πŸ™', '😑', '😐', '😲', '😱', '😴', 'πŸ™„ ', '😈']
  }
});
  • icon the default icon for the button
  • tooltip text for the tooltip
  • list A js array of emojis. The plugin will accept any string

License

Released under the MIT license

About

A simple emoji dropdown plugin for summernote editor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published