Skip to content

Commit

Permalink
bumped upto summernote-rails v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rorlab committed Nov 30, 2013
1 parent 73cfac7 commit fd18929
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
28 changes: 17 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The version of summernote-rails is matched with that of summernote editor.
Add the following gems to your application's Gemfile:

# for Rails 4.0
gem 'simple_form', github: 'plataformatec/simple_form', tag: 'v3.0.0.beta1'
gem 'simple_form'
# for Rails 3.x
gem 'simple_form'

Expand Down Expand Up @@ -94,17 +94,17 @@ $ ->
summer_note.summernote
# to set options
height:300
toolbar: [
# toolbar: [
# ['insert', ['picture', 'link']], // no insert buttons
["table", ["table"]],
["style", ["style"]],
["fontsize", ["fontsize"]],
["color", ["color"]],
["style", ["bold", "italic", "underline", "clear"]],
["para", ["ul", "ol", "paragraph"]],
["height", ["height"]],
["help", ["help"]]
]
# ["table", ["table"]],
# ["style", ["style"]],
# ["fontsize", ["fontsize"]],
# ["color", ["color"]],
# ["style", ["bold", "italic", "underline", "clear"]],
# ["para", ["ul", "ol", "paragraph"]],
# ["height", ["height"]],
# ["help", ["help"]]
#]
# to set code for summernote
summer_note.code summer_note.val()
Expand All @@ -126,6 +126,12 @@ That's it.

## Changelogs

- v0.4.0 : Support both Bootstrap 3.0 and 2.x
* Updated with `v0.4 Summernote, 2013-11-01` as the followings:
* View mode
* Fullscreen
* Code view
* Image upload callback
- v0.3.0 : Added the resizing bar at the bottom of editor.
* Updated with `v0.3 Summernote, 2013-09-01` as the followings:
* `FIXED` bugs(image upload, fontsize, tab, recent color, ...)
Expand Down
2 changes: 1 addition & 1 deletion lib/summernote/rails/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Summernote
module Rails
VERSION = "0.3.0"
VERSION = "0.4.0"
end
end

0 comments on commit fd18929

Please sign in to comment.