You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-14Lines changed: 12 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
-
# jQuery EmojiArea
1
+
# .emojiarea()
2
2
3
-
A drop-in plugin for turning regular textareas into ones that support emojis, WYSIWYG style! Set up a list of available emojis, call `$('textarea').emojiarea()` and you're done... basically. There's a plain-text fallback, so if the browser doesn't support [contentEditable](http://caniuse.com/#search=contenteditable), it will degrade gracefully—the user will still be able to use the dropdown menu of emojis.
3
+
A small **6kb**[jQuery](http://jquery.com/)plugin for turning regular textareas into ones that support emojis, WYSIWYG style! Set up a list of available emojis, call `$('textarea').emojiarea()` and you're done (basically). There's a plain-text fallback, so if the browser doesn't support [contentEditable](http://caniuse.com/#search=contenteditable), it will degrade gracefully—the user will still be able to use the dropdown menu of emojis.
For a basic set of emojis, see "packs/basic". If you have a really rad set and would like to share, please fork this and submit a pull request!
62
+
For a basic set of emojis, see "packs/basic".
63
63
64
-
###CSS / Skinning
64
+
## CSS / Skinning
65
65
66
66
See [jquery.emojiarea.css](https://github.com/diy/jquery-emojiarea/blob/master/jquery.emojiarea.css) for the few fundamental CSS styles needed for this to work.
67
67
@@ -73,18 +73,16 @@ Basically, you'll want to adjust the following styles:
73
73
.emoji-wysiwyg-editorimg/* the emoji images in the editor */
74
74
```
75
75
76
+
## Footnotes
77
+
78
+
* Huge props to [Tim Down](http://stackoverflow.com/users/96100/tim-down) for the many insightful answers on Stack Overflow having to deal with cross-browser selection handling.
79
+
* If you have a really rad set of emojis and would like to share, please fork this, add them to "packs/", and submit a pull request!
80
+
* For a giant list of emojis (used by Github, Basecamp, et al), see ["Emoji cheat sheet"](http://www.emoji-cheat-sheet.com/).
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0
81
87
82
88
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
83
-
84
-
---------
85
-
86
-
### Footnotes
87
-
88
-
Huge props to [Tim Down](http://stackoverflow.com/users/96100/tim-down), a beast at cross-browser selection handling.
89
-
90
-
For a giant list of emojis (used by Github, Basecamp, et al), see ["Emoji cheat sheet"](http://www.emoji-cheat-sheet.com/).
0 commit comments