Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trinhtam/summernote-emoji
Summernote emoji plugin
https://github.com/trinhtam/summernote-emoji
Last synced: 3 months ago
JSON representation
Summernote emoji plugin
- Host: GitHub
- URL: https://github.com/trinhtam/summernote-emoji
- Owner: trinhtam
- Created: 2017-12-01T08:56:00.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-18T15:06:56.000Z (about 5 years ago)
- Last Synced: 2024-02-14T03:31:46.151Z (9 months ago)
- Language: JavaScript
- Size: 3.21 MB
- Stars: 24
- Watchers: 3
- Forks: 16
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-summernote - summernote-emoji
README
# summernote-emoji
Summernote emoji plugin![Screen Shot](https://tamit.info/plugins/summernote-emoji/example/ScreenShot.png)
**Demo** https://tamit.info/plugins/summernote-emoji/example
# Installation & Usage:
In your `````` section, add the following stylesheet links. Adjust the lib/css path to match yours.
``````
The end of your `````` section, add the following JavaScript links. This library depends on jQuery, so jQuery must also be included, before these scripts are run. Once again, adjust the tam-emoji/js path to match yours.
```
```
Before add ```emoji``` to summernote toolbar.# Example
``````
```
$('#summernote').summernote({
toolbar: [
toolbar: [
['insert', ['emoji']],
['tool', ['undo', 'redo', 'codeview']]
]
]
});
```# Configuring Options
```
# Emoji Button
document.emojiButton = 'fas fa-smile'; // default: fa fa-smile-o#The Emoji selector to input Unicode characters instead of images
document.emojiType = 'unicode'; // default: image#Relative path to emojis
document.emojiSource = 'tam-emoji/img';
```