Skip to content

Commit 2b2651f

Browse files
committed
Update README.md
Formatting.
1 parent bcd57ee commit 2b2651f

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

README.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# jQuery EmojiArea
1+
# .emojiarea()
22

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.
44

55
![Screenshot](http://i.imgur.com/C4Z8F.gif)
66

77
```html
8-
<textarea>Get off my lawn :angry:</textarea>
8+
<textarea>Hello :smile:</textarea>
99
<script type="text/javascript">$('textarea').emojiarea();</script>
1010
```
1111

@@ -34,7 +34,7 @@ Alternatively, if you wish to use your own button:
3434
$('textarea').emojiarea({button: '#your-button'});
3535
```
3636

37-
For skinning information, see the [CSS / Skinning](#css--skinning) section.
37+
For customizing the visual appearance, see the [CSS / Skinning](#css--skinning) section.
3838

3939
### Declaring Available Emojis
4040

@@ -59,9 +59,9 @@ $.extend($.emojiarea.defaults, {
5959
});
6060
```
6161

62-
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".
6363

64-
### CSS / Skinning
64+
## CSS / Skinning
6565

6666
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.
6767

@@ -73,18 +73,16 @@ Basically, you'll want to adjust the following styles:
7373
.emoji-wysiwyg-editor img /* the emoji images in the editor */
7474
```
7575

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/).
81+
7682
## License
7783

7884
Copyright &copy; 2012 DIY Co
7985

8086
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
8187

8288
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

Comments
 (0)