Skip to content

Commit

Permalink
updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rorlab committed Aug 11, 2013
1 parent 2cfa069 commit 583e1ff
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,20 @@ And then execute:

First of all, the summernote editor works on Bootstrap and so it is assumed that you have already set it up.

Note that when using font-awesome-rails with bootstrap-sass, both FontAwesome & Glyphicon icons show up, overlapping. So if you have bootstrap_and_override.css.scss file, please add the following two code lines related with bootstrap's glyphicon:

In app/assets/stylesheets/bootstrap_and_override.css.scss,

```
// When using font-awesome-rails with bootstrap-sass, both FontAwesome & Glyphicon icons show up. So you should add the following to hide Glyphicon icons of Bootstrap.
$iconSpritePath: '';
$iconWhiteSpritePath: '';
@import 'bootstrap';
body {padding-top:3em;}
@import 'bootstrap-responsive';
```

In app/assets/javascripts/application.js, you should add the following:

```
Expand Down Expand Up @@ -89,6 +103,11 @@ In app/views/posts/_form.html.erb, you should add 'summernote' class to the text
That's it.


## Examples projects

- Rails 3.2.14 : http://github.com/rorlab/summernote-test-r3
- Rails 4.0 : http://github.com/rorlab/summernote-test

## Changelogs

- v0.2.1.2 : Added InsertHorizontalRule(Cmd+Enter) in summernote editor /
Expand Down

0 comments on commit 583e1ff

Please sign in to comment.