Skip to content
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Johnson committed Aug 16, 2017
1 parent eb32f9d commit 6946885
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ npm install --save tinymce-emoji
Add to your tinymce init:
```JavaScript
import 'tinymce-emoji'
import 'tinymce' // always import tinymce after any plugins

tinymce.init({
plugins: [
Expand All @@ -25,6 +26,20 @@ tinymce.init({
})
```

Alternatively, you can install this plugin via `script` tags:
```HTML
<script src="path/to/tinymce-emoji/dist/plugin.min.js"></script>
<script src="https://cloud.tinymce.com/stable/tinymce.min.js"></script>
<script>
tinymce.init({
plugins: [
'tinymceEmoji'
],
toolbar: 'tinymceEmoji'
})
</script>
```

You can also configure a few options for tinymce-emoji by adding them to your tinymce init, like so:
```JavaScript
tinymce.init({
Expand Down

0 comments on commit 6946885

Please sign in to comment.