Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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';
```