summernote-rails 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +17 -11
- data/lib/summernote/rails/version.rb +1 -1
- data/vendor/assets/javascripts/summernote.js +724 -364
- data/vendor/assets/javascripts/summernote.min.js +2 -2
- data/vendor/assets/stylesheets/{summernote-bootstrap.css → summernote-bs2.css} +0 -0
- data/vendor/assets/stylesheets/summernote-bs3.css +5970 -0
- data/vendor/assets/stylesheets/summernote.css +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90104fdf1b63b42c4f6f1dfe413bd891e8bef0cf
|
4
|
+
data.tar.gz: 0a56a60baf4f78c9c59ed7a7e853ebb86e12cd20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dafbc43040771f73f57a13b7635c23aeab33fe3cc84927cd0be78adb11b539afcb46f2bc9aba61077631b05f72f71ded3e80cb33e80d6e49724933f07bd1078b
|
7
|
+
data.tar.gz: de2ac3227453092f02c463580832c8379145d73e277475e811f240a1bbbaee47c6f1121bec41b105009323e488739f2a235899d5fc497e2c41970f0f7bed86af
|
data/README.md
CHANGED
@@ -15,7 +15,7 @@ The version of summernote-rails is matched with that of summernote editor.
|
|
15
15
|
Add the following gems to your application's Gemfile:
|
16
16
|
|
17
17
|
# for Rails 4.0
|
18
|
-
gem 'simple_form'
|
18
|
+
gem 'simple_form'
|
19
19
|
# for Rails 3.x
|
20
20
|
gem 'simple_form'
|
21
21
|
|
@@ -94,17 +94,17 @@ $ ->
|
|
94
94
|
summer_note.summernote
|
95
95
|
# to set options
|
96
96
|
height:300
|
97
|
-
toolbar: [
|
97
|
+
# toolbar: [
|
98
98
|
# ['insert', ['picture', 'link']], // no insert buttons
|
99
|
-
["table", ["table"]],
|
100
|
-
["style", ["style"]],
|
101
|
-
["fontsize", ["fontsize"]],
|
102
|
-
["color", ["color"]],
|
103
|
-
["style", ["bold", "italic", "underline", "clear"]],
|
104
|
-
["para", ["ul", "ol", "paragraph"]],
|
105
|
-
["height", ["height"]],
|
106
|
-
["help", ["help"]]
|
107
|
-
]
|
99
|
+
# ["table", ["table"]],
|
100
|
+
# ["style", ["style"]],
|
101
|
+
# ["fontsize", ["fontsize"]],
|
102
|
+
# ["color", ["color"]],
|
103
|
+
# ["style", ["bold", "italic", "underline", "clear"]],
|
104
|
+
# ["para", ["ul", "ol", "paragraph"]],
|
105
|
+
# ["height", ["height"]],
|
106
|
+
# ["help", ["help"]]
|
107
|
+
#]
|
108
108
|
|
109
109
|
# to set code for summernote
|
110
110
|
summer_note.code summer_note.val()
|
@@ -126,6 +126,12 @@ That's it.
|
|
126
126
|
|
127
127
|
## Changelogs
|
128
128
|
|
129
|
+
- v0.4.0 : Support both Bootstrap 3.0 and 2.x
|
130
|
+
* Updated with `v0.4 Summernote, 2013-11-01` as the followings:
|
131
|
+
* View mode
|
132
|
+
* Fullscreen
|
133
|
+
* Code view
|
134
|
+
* Image upload callback
|
129
135
|
- v0.3.0 : Added the resizing bar at the bottom of editor.
|
130
136
|
* Updated with `v0.3 Summernote, 2013-09-01` as the followings:
|
131
137
|
* `FIXED` bugs(image upload, fontsize, tab, recent color, ...)
|