wysihtml5n-rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. data/LICENSE +20 -0
  2. data/README.md +57 -0
  3. data/lib/wysihtml5n-rails.rb +6 -0
  4. data/lib/wysihtml5n/rails.rb +2 -0
  5. data/lib/wysihtml5n/rails/engine.rb +10 -0
  6. data/lib/wysihtml5n/rails/version.rb +5 -0
  7. data/test/cases/usage_css_spec.rb +57 -0
  8. data/test/cases/usage_js_spec.rb +33 -0
  9. data/test/dummy/README.rdoc +261 -0
  10. data/test/dummy/Rakefile +7 -0
  11. data/test/dummy/app/assets/javascripts/application.js +3 -0
  12. data/test/dummy/app/assets/javascripts/individual.js +3 -0
  13. data/test/dummy/app/assets/stylesheets/application.css.scss +3 -0
  14. data/test/dummy/app/assets/stylesheets/individual.css.scss +3 -0
  15. data/test/dummy/app/assets/stylesheets/sprockets.css +3 -0
  16. data/test/dummy/app/controllers/application_controller.rb +3 -0
  17. data/test/dummy/app/helpers/application_helper.rb +2 -0
  18. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  19. data/test/dummy/config.ru +4 -0
  20. data/test/dummy/config/application.rb +69 -0
  21. data/test/dummy/config/boot.rb +10 -0
  22. data/test/dummy/config/environment.rb +5 -0
  23. data/test/dummy/config/environments/development.rb +31 -0
  24. data/test/dummy/config/environments/production.rb +64 -0
  25. data/test/dummy/config/environments/test.rb +35 -0
  26. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  27. data/test/dummy/config/initializers/inflections.rb +15 -0
  28. data/test/dummy/config/initializers/mime_types.rb +5 -0
  29. data/test/dummy/config/initializers/secret_token.rb +7 -0
  30. data/test/dummy/config/initializers/session_store.rb +8 -0
  31. data/test/dummy/config/initializers/wrap_parameters.rb +10 -0
  32. data/test/dummy/config/locales/en.yml +5 -0
  33. data/test/dummy/config/routes.rb +58 -0
  34. data/test/dummy/log/test.log +224 -0
  35. data/test/dummy/public/404.html +26 -0
  36. data/test/dummy/public/422.html +26 -0
  37. data/test/dummy/public/500.html +25 -0
  38. data/test/dummy/public/favicon.ico +0 -0
  39. data/test/dummy/script/rails +6 -0
  40. data/test/dummy/tmp/cache/sass/5338c0058b360de616e31cc6c7da71b4f9557c8f/application.css.scssc +0 -0
  41. data/test/dummy/tmp/cache/sass/5338c0058b360de616e31cc6c7da71b4f9557c8f/individual.css.scssc +0 -0
  42. data/test/dummy/tmp/cache/sass/960125ced7e54163fe33c2547bbd2af7f2929975/wysihtml5n.css.scssc +0 -0
  43. data/test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/_bootstrap.scssc +0 -0
  44. data/test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/_editor.scssc +0 -0
  45. data/test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/_font-awesome.scssc +0 -0
  46. data/test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/bootstrap.scssc +0 -0
  47. data/test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/editor.scssc +0 -0
  48. data/test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/font-awesome.scssc +0 -0
  49. data/test/spec_helper.rb +12 -0
  50. data/test/support/helpers.rb +33 -0
  51. data/vendor/assets/fonts/wysihtml5n/fontawesome-webfont.eot +0 -0
  52. data/vendor/assets/fonts/wysihtml5n/fontawesome-webfont.svg +255 -0
  53. data/vendor/assets/fonts/wysihtml5n/fontawesome-webfont.ttf +0 -0
  54. data/vendor/assets/fonts/wysihtml5n/fontawesome-webfont.woff +0 -0
  55. data/vendor/assets/images/wysihtml5n/Jcrop.gif +0 -0
  56. data/vendor/assets/javascripts/wysihtml5n.js +3 -0
  57. data/vendor/assets/javascripts/wysihtml5n/jcrop.js +1695 -0
  58. data/vendor/assets/javascripts/wysihtml5n/wysihtml5-0.3.0.js +9531 -0
  59. data/vendor/assets/javascripts/wysihtml5n/wysihtml5-enhanced.js +783 -0
  60. data/vendor/assets/stylesheets/wysihtml5n.css.scss +3 -0
  61. data/vendor/assets/stylesheets/wysihtml5n/_bootstrap.scss +1692 -0
  62. data/vendor/assets/stylesheets/wysihtml5n/_editor.scss +115 -0
  63. data/vendor/assets/stylesheets/wysihtml5n/_font-awesome.scss +303 -0
  64. metadata +223 -0
@@ -0,0 +1,115 @@
1
+ /** editor toolbar **/
2
+
3
+ .wysiHTML5-toolbar .btn-group{
4
+ margin: 0 0 10px;
5
+ padding: 0;
6
+ }
7
+
8
+ .wysihtml5-command-active{
9
+ color: #333;
10
+ text-decoration: none;
11
+ background-color: #dedede;
12
+ *background-color: #d9d9d9;
13
+
14
+ background-position: 0 -15px;
15
+ -webkit-transition: background-position 0.1s linear;
16
+ -moz-transition: background-position 0.1s linear;
17
+ -ms-transition: background-position 0.1s linear;
18
+ -o-transition: background-position 0.1s linear;
19
+ transition: background-position 0.1s linear;
20
+ }
21
+
22
+ .drop-image{
23
+ border: 2px dashed #ddd;
24
+ text-align: center;
25
+ }
26
+
27
+ .drop-image img {
28
+ max-width: 3000px;
29
+ }
30
+ /** Jcrop **/
31
+
32
+ /* jquery.Jcrop.css v0.9.10 - MIT License */
33
+
34
+ /*
35
+ The outer-most container in a typical Jcrop instance
36
+ If you are having difficulty with formatting related to styles
37
+ on a parent element, place any fixes here or in a like selector
38
+
39
+ You can also style this element if you want to add a border, etc
40
+ A better method for styling can be seen below with .jcrop-light
41
+ (Add a class to the holder and style elements for that extended class)
42
+ */
43
+ .jcrop-holder {
44
+ direction: ltr;
45
+ text-align: center;
46
+ margin: 0 auto;
47
+ }
48
+
49
+ /* These styles define the border lines */
50
+ .jcrop-vline,.jcrop-hline{background:#FFF url('/assets/wysihtml5n/Jcrop.gif') top left repeat;font-size:0;position:absolute;}
51
+ .jcrop-vline{height:100%;width:1px!important;}
52
+ .jcrop-hline{height:1px!important;width:100%;}
53
+ .jcrop-vline.right{right:0;}
54
+ .jcrop-hline.bottom{bottom:0;}
55
+
56
+ /* Handle style - size is set by Jcrop handleSize option (currently) */
57
+ .jcrop-handle{background-color:#333;border:1px #eee solid;font-size:1px;}
58
+
59
+ /* This style is used for invisible click targets */
60
+ .jcrop-tracker{
61
+ height: 100%;
62
+ width: 100%;
63
+ -webkit-tap-highlight-color: transparent; /* "turn off" link highlight */
64
+ -webkit-touch-callout: none; /* disable callout, image save panel */
65
+ -webkit-user-select: none; /* disable cut copy paste */
66
+ }
67
+
68
+ /* Positioning of handles and drag bars */
69
+ .jcrop-handle.ord-n{left:50%;margin-left:-4px;margin-top:-4px;top:0;}
70
+ .jcrop-handle.ord-s{bottom:0;left:50%;margin-bottom:-4px;margin-left:-4px;}
71
+ .jcrop-handle.ord-e{margin-right:-4px;margin-top:-4px;right:0;top:50%;}
72
+ .jcrop-handle.ord-w{left:0;margin-left:-4px;margin-top:-4px;top:50%;}
73
+ .jcrop-handle.ord-nw{left:0;margin-left:-4px;margin-top:-4px;top:0;}
74
+ .jcrop-handle.ord-ne{margin-right:-4px;margin-top:-4px;right:0;top:0;}
75
+ .jcrop-handle.ord-se{bottom:0;margin-bottom:-4px;margin-right:-4px;right:0;}
76
+ .jcrop-handle.ord-sw{bottom:0;left:0;margin-bottom:-4px;margin-left:-4px;}
77
+ .jcrop-dragbar.ord-n,.jcrop-dragbar.ord-s{height:7px;width:100%;}
78
+ .jcrop-dragbar.ord-e,.jcrop-dragbar.ord-w{height:100%;width:7px;}
79
+ .jcrop-dragbar.ord-n{margin-top:-4px;}
80
+ .jcrop-dragbar.ord-s{bottom:0;margin-bottom:-4px;}
81
+ .jcrop-dragbar.ord-e{margin-right:-4px;right:0;}
82
+ .jcrop-dragbar.ord-w{margin-left:-4px;}
83
+
84
+ /* The "jcrop-light" class/extension */
85
+ .jcrop-light .jcrop-vline,.jcrop-light .jcrop-hline{
86
+ background:#FFF;
87
+ filter:Alpha(opacity=70)!important;
88
+ opacity:.70!important;
89
+ }
90
+
91
+ .jcrop-light .jcrop-handle{
92
+ -moz-border-radius:3px;
93
+ -webkit-border-radius:3px;
94
+ background-color:#000;
95
+ border-color:#FFF;
96
+ border-radius:3px;
97
+ }
98
+
99
+ /* The "jcrop-dark" class/extension */
100
+ .jcrop-dark .jcrop-vline,.jcrop-dark .jcrop-hline{
101
+ background:#000;
102
+ filter:Alpha(opacity=70)!important;
103
+ opacity:.7!important;
104
+ }
105
+
106
+ .jcrop-dark .jcrop-handle{
107
+ -moz-border-radius:3px;
108
+ -webkit-border-radius:3px;
109
+ background-color:#FFF;
110
+ border-color:#000;
111
+ border-radius:3px;
112
+ }
113
+
114
+ /* Fix for twitter bootstrap et al. */
115
+ .jcrop-holder img,img.jcrop-preview{ max-width: none; }
@@ -0,0 +1,303 @@
1
+ /* Font Awesome
2
+ the iconic font designed for use with Twitter Bootstrap
3
+ -------------------------------------------------------
4
+ The full suite of pictographic icons, examples, and documentation
5
+ can be found at: http://fortawesome.github.com/Font-Awesome/
6
+
7
+ License
8
+ -------------------------------------------------------
9
+ The Font Awesome webfont, CSS, and LESS files are licensed under CC BY 3.0:
10
+ http://creativecommons.org/licenses/by/3.0/ A mention of
11
+ 'Font Awesome - http://fortawesome.github.com/Font-Awesome' in human-readable
12
+ source code is considered acceptable attribution (most common on the web).
13
+ If human readable source code is not available to the end user, a mention in
14
+ an 'About' or 'Credits' screen is considered acceptable (most common in desktop
15
+ or mobile software).
16
+
17
+ Contact
18
+ -------------------------------------------------------
19
+ Email: dave@davegandy.com
20
+ Twitter: http://twitter.com/fortaweso_me
21
+ Work: http://lemonwi.se co-founder
22
+
23
+ */
24
+ @font-face {
25
+ font-family: "FontAwesome";
26
+ src: font-url('wysihtml5n/fontawesome-webfont.eot');
27
+ src: font-url('wysihtml5n/fontawesome-webfont.eot') format('eot'), font-url('wysihtml5n/fontawesome-webfont.woff') format('woff'), font-url('wysihtml5n/fontawesome-webfont.ttf') format('truetype'), font-url('wysihtml5n/fontawesome-webfont.svg#FontAwesome') format('svg');
28
+ font-weight: normal;
29
+ font-style: normal;
30
+ }
31
+
32
+ /* Font Awesome styles
33
+ ------------------------------------------------------- */
34
+ [class^="icon-"]:before, [class*=" icon-"]:before {
35
+ font-family: FontAwesome;
36
+ font-weight: normal;
37
+ font-style: normal;
38
+ display: inline-block;
39
+ text-decoration: inherit;
40
+ }
41
+ a [class^="icon-"], a [class*=" icon-"] {
42
+ display: inline-block;
43
+ text-decoration: inherit;
44
+ }
45
+ /* makes the font 33% larger relative to the icon container */
46
+ .icon-large:before {
47
+ vertical-align: top;
48
+ font-size: 1.3333333333333333em;
49
+ }
50
+ .btn [class^="icon-"], .btn [class*=" icon-"] {
51
+ /* keeps button heights with and without icons the same */
52
+
53
+ line-height: .9em;
54
+ }
55
+ li [class^="icon-"], li [class*=" icon-"] {
56
+ display: inline-block;
57
+ width: 1.25em;
58
+ text-align: center;
59
+ }
60
+ li .icon-large[class^="icon-"], li .icon-large[class*=" icon-"] {
61
+ /* 1.5 increased font size for icon-large * 1.25 width */
62
+
63
+ width: 1.875em;
64
+ }
65
+ li[class^="icon-"], li[class*=" icon-"] {
66
+ margin-left: 0;
67
+ list-style-type: none;
68
+ }
69
+ li[class^="icon-"]:before, li[class*=" icon-"]:before {
70
+ text-indent: -2em;
71
+ text-align: center;
72
+ }
73
+ li[class^="icon-"].icon-large:before, li[class*=" icon-"].icon-large:before {
74
+ text-indent: -1.3333333333333333em;
75
+ }
76
+ /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
77
+ readers do not read off random characters that represent icons */
78
+ .icon-glass:before { content: "\f000"; }
79
+ .icon-music:before { content: "\f001"; }
80
+ .icon-search:before { content: "\f002"; }
81
+ .icon-envelope:before { content: "\f003"; }
82
+ .icon-heart:before { content: "\f004"; }
83
+ .icon-star:before { content: "\f005"; }
84
+ .icon-star-empty:before { content: "\f006"; }
85
+ .icon-user:before { content: "\f007"; }
86
+ .icon-film:before { content: "\f008"; }
87
+ .icon-th-large:before { content: "\f009"; }
88
+ .icon-th:before { content: "\f00a"; }
89
+ .icon-th-list:before { content: "\f00b"; }
90
+ .icon-ok:before { content: "\f00c"; }
91
+ .icon-remove:before { content: "\f00d"; }
92
+ .icon-zoom-in:before { content: "\f00e"; }
93
+
94
+ .icon-zoom-out:before { content: "\f010"; }
95
+ .icon-off:before { content: "\f011"; }
96
+ .icon-signal:before { content: "\f012"; }
97
+ .icon-cog:before { content: "\f013"; }
98
+ .icon-trash:before { content: "\f014"; }
99
+ .icon-home:before { content: "\f015"; }
100
+ .icon-file:before { content: "\f016"; }
101
+ .icon-time:before { content: "\f017"; }
102
+ .icon-road:before { content: "\f018"; }
103
+ .icon-download-alt:before { content: "\f019"; }
104
+ .icon-download:before { content: "\f01a"; }
105
+ .icon-upload:before { content: "\f01b"; }
106
+ .icon-inbox:before { content: "\f01c"; }
107
+ .icon-play-circle:before { content: "\f01d"; }
108
+ .icon-repeat:before { content: "\f01e"; }
109
+
110
+ /* \f020 doesn't work in Safari. all shifted one down */
111
+ .icon-refresh:before { content: "\f021"; }
112
+ .icon-list-alt:before { content: "\f022"; }
113
+ .icon-lock:before { content: "\f023"; }
114
+ .icon-flag:before { content: "\f024"; }
115
+ .icon-headphones:before { content: "\f025"; }
116
+ .icon-volume-off:before { content: "\f026"; }
117
+ .icon-volume-down:before { content: "\f027"; }
118
+ .icon-volume-up:before { content: "\f028"; }
119
+ .icon-qrcode:before { content: "\f029"; }
120
+ .icon-barcode:before { content: "\f02a"; }
121
+ .icon-tag:before { content: "\f02b"; }
122
+ .icon-tags:before { content: "\f02c"; }
123
+ .icon-book:before { content: "\f02d"; }
124
+ .icon-bookmark:before { content: "\f02e"; }
125
+ .icon-print:before { content: "\f02f"; }
126
+
127
+ .icon-camera:before { content: "\f030"; }
128
+ .icon-font:before { content: "\f031"; }
129
+ .icon-bold:before { content: "\f032"; }
130
+ .icon-italic:before { content: "\f033"; }
131
+ .icon-text-height:before { content: "\f034"; }
132
+ .icon-text-width:before { content: "\f035"; }
133
+ .icon-align-left:before { content: "\f036"; }
134
+ .icon-align-center:before { content: "\f037"; }
135
+ .icon-align-right:before { content: "\f038"; }
136
+ .icon-align-justify:before { content: "\f039"; }
137
+ .icon-list:before { content: "\f03a"; }
138
+ .icon-indent-left:before { content: "\f03b"; }
139
+ .icon-indent-right:before { content: "\f03c"; }
140
+ .icon-facetime-video:before { content: "\f03d"; }
141
+ .icon-picture:before { content: "\f03e"; }
142
+
143
+ .icon-pencil:before { content: "\f040"; }
144
+ .icon-map-marker:before { content: "\f041"; }
145
+ .icon-adjust:before { content: "\f042"; }
146
+ .icon-tint:before { content: "\f043"; }
147
+ .icon-edit:before { content: "\f044"; }
148
+ .icon-share:before { content: "\f045"; }
149
+ .icon-check:before { content: "\f046"; }
150
+ .icon-move:before { content: "\f047"; }
151
+ .icon-step-backward:before { content: "\f048"; }
152
+ .icon-fast-backward:before { content: "\f049"; }
153
+ .icon-backward:before { content: "\f04a"; }
154
+ .icon-play:before { content: "\f04b"; }
155
+ .icon-pause:before { content: "\f04c"; }
156
+ .icon-stop:before { content: "\f04d"; }
157
+ .icon-forward:before { content: "\f04e"; }
158
+
159
+ .icon-fast-forward:before { content: "\f050"; }
160
+ .icon-step-forward:before { content: "\f051"; }
161
+ .icon-eject:before { content: "\f052"; }
162
+ .icon-chevron-left:before { content: "\f053"; }
163
+ .icon-chevron-right:before { content: "\f054"; }
164
+ .icon-plus-sign:before { content: "\f055"; }
165
+ .icon-minus-sign:before { content: "\f056"; }
166
+ .icon-remove-sign:before { content: "\f057"; }
167
+ .icon-ok-sign:before { content: "\f058"; }
168
+ .icon-question-sign:before { content: "\f059"; }
169
+ .icon-info-sign:before { content: "\f05a"; }
170
+ .icon-screenshot:before { content: "\f05b"; }
171
+ .icon-remove-circle:before { content: "\f05c"; }
172
+ .icon-ok-circle:before { content: "\f05d"; }
173
+ .icon-ban-circle:before { content: "\f05e"; }
174
+
175
+ .icon-arrow-left:before { content: "\f060"; }
176
+ .icon-arrow-right:before { content: "\f061"; }
177
+ .icon-arrow-up:before { content: "\f062"; }
178
+ .icon-arrow-down:before { content: "\f063"; }
179
+ .icon-share-alt:before { content: "\f064"; }
180
+ .icon-resize-full:before { content: "\f065"; }
181
+ .icon-resize-small:before { content: "\f066"; }
182
+ .icon-plus:before { content: "\f067"; }
183
+ .icon-minus:before { content: "\f068"; }
184
+ .icon-asterisk:before { content: "\f069"; }
185
+ .icon-exclamation-sign:before { content: "\f06a"; }
186
+ .icon-gift:before { content: "\f06b"; }
187
+ .icon-leaf:before { content: "\f06c"; }
188
+ .icon-fire:before { content: "\f06d"; }
189
+ .icon-eye-open:before { content: "\f06e"; }
190
+
191
+ .icon-eye-close:before { content: "\f070"; }
192
+ .icon-warning-sign:before { content: "\f071"; }
193
+ .icon-plane:before { content: "\f072"; }
194
+ .icon-calendar:before { content: "\f073"; }
195
+ .icon-random:before { content: "\f074"; }
196
+ .icon-comment:before { content: "\f075"; }
197
+ .icon-magnet:before { content: "\f076"; }
198
+ .icon-chevron-up:before { content: "\f077"; }
199
+ .icon-chevron-down:before { content: "\f078"; }
200
+ .icon-retweet:before { content: "\f079"; }
201
+ .icon-shopping-cart:before { content: "\f07a"; }
202
+ .icon-folder-close:before { content: "\f07b"; }
203
+ .icon-folder-open:before { content: "\f07c"; }
204
+ .icon-resize-vertical:before { content: "\f07d"; }
205
+ .icon-resize-horizontal:before { content: "\f07e"; }
206
+
207
+ .icon-bar-chart:before { content: "\f080"; }
208
+ .icon-twitter-sign:before { content: "\f081"; }
209
+ .icon-facebook-sign:before { content: "\f082"; }
210
+ .icon-camera-retro:before { content: "\f083"; }
211
+ .icon-key:before { content: "\f084"; }
212
+ .icon-cogs:before { content: "\f085"; }
213
+ .icon-comments:before { content: "\f086"; }
214
+ .icon-thumbs-up:before { content: "\f087"; }
215
+ .icon-thumbs-down:before { content: "\f088"; }
216
+ .icon-star-half:before { content: "\f089"; }
217
+ .icon-heart-empty:before { content: "\f08a"; }
218
+ .icon-signout:before { content: "\f08b"; }
219
+ .icon-linkedin-sign:before { content: "\f08c"; }
220
+ .icon-pushpin:before { content: "\f08d"; }
221
+ .icon-external-link:before { content: "\f08e"; }
222
+
223
+ .icon-signin:before { content: "\f090"; }
224
+ .icon-trophy:before { content: "\f091"; }
225
+ .icon-github-sign:before { content: "\f092"; }
226
+ .icon-upload-alt:before { content: "\f093"; }
227
+ .icon-lemon:before { content: "\f094"; }
228
+ .icon-phone:before { content: "\f095"; }
229
+ .icon-check-empty:before { content: "\f096"; }
230
+ .icon-bookmark-empty:before { content: "\f097"; }
231
+ .icon-phone-sign:before { content: "\f098"; }
232
+ .icon-twitter:before { content: "\f099"; }
233
+ .icon-facebook:before { content: "\f09a"; }
234
+ .icon-github:before { content: "\f09b"; }
235
+ .icon-unlock:before { content: "\f09c"; }
236
+ .icon-credit-card:before { content: "\f09d"; }
237
+ .icon-rss:before { content: "\f09e"; }
238
+
239
+ .icon-hdd:before { content: "\f0a0"; }
240
+ .icon-bullhorn:before { content: "\f0a1"; }
241
+ .icon-bell:before { content: "\f0a2"; }
242
+ .icon-certificate:before { content: "\f0a3"; }
243
+ .icon-hand-right:before { content: "\f0a4"; }
244
+ .icon-hand-left:before { content: "\f0a5"; }
245
+ .icon-hand-up:before { content: "\f0a6"; }
246
+ .icon-hand-down:before { content: "\f0a7"; }
247
+ .icon-circle-arrow-left:before { content: "\f0a8"; }
248
+ .icon-circle-arrow-right:before { content: "\f0a9"; }
249
+ .icon-circle-arrow-up:before { content: "\f0aa"; }
250
+ .icon-circle-arrow-down:before { content: "\f0ab"; }
251
+ .icon-globe:before { content: "\f0ac"; }
252
+ .icon-wrench:before { content: "\f0ad"; }
253
+ .icon-tasks:before { content: "\f0ae"; }
254
+
255
+ .icon-filter:before { content: "\f0b0"; }
256
+ .icon-briefcase:before { content: "\f0b1"; }
257
+ .icon-fullscreen:before { content: "\f0b2"; }
258
+
259
+ .icon-group:before { content: "\f0c0"; }
260
+ .icon-link:before { content: "\f0c1"; }
261
+ .icon-cloud:before { content: "\f0c2"; }
262
+ .icon-beaker:before { content: "\f0c3"; }
263
+ .icon-cut:before { content: "\f0c4"; }
264
+ .icon-copy:before { content: "\f0c5"; }
265
+ .icon-paper-clip:before { content: "\f0c6"; }
266
+ .icon-save:before { content: "\f0c7"; }
267
+ .icon-sign-blank:before { content: "\f0c8"; }
268
+ .icon-reorder:before { content: "\f0c9"; }
269
+ .icon-list-ul:before { content: "\f0ca"; }
270
+ .icon-list-ol:before { content: "\f0cb"; }
271
+ .icon-strikethrough:before { content: "\f0cc"; }
272
+ .icon-underline:before { content: "\f0cd"; }
273
+ .icon-table:before { content: "\f0ce"; }
274
+
275
+ .icon-magic:before { content: "\f0d0"; }
276
+ .icon-truck:before { content: "\f0d1"; }
277
+ .icon-pinterest:before { content: "\f0d2"; }
278
+ .icon-pinterest-sign:before { content: "\f0d3"; }
279
+ .icon-google-plus-sign:before { content: "\f0d4"; }
280
+ .icon-google-plus:before { content: "\f0d5"; }
281
+ .icon-money:before { content: "\f0d6"; }
282
+ .icon-caret-down:before { content: "\f0d7"; }
283
+ .icon-caret-up:before { content: "\f0d8"; }
284
+ .icon-caret-left:before { content: "\f0d9"; }
285
+ .icon-caret-right:before { content: "\f0da"; }
286
+ .icon-columns:before { content: "\f0db"; }
287
+ .icon-sort:before { content: "\f0dc"; }
288
+ .icon-sort-down:before { content: "\f0dd"; }
289
+ .icon-sort-up:before { content: "\f0de"; }
290
+
291
+ .icon-envelope-alt:before { content: "\f0e0"; }
292
+ .icon-linkedin:before { content: "\f0e1"; }
293
+ .icon-undo:before { content: "\f0e2"; }
294
+ .icon-legal:before { content: "\f0e3"; }
295
+ .icon-dashboard:before { content: "\f0e4"; }
296
+ .icon-comment-alt:before { content: "\f0e5"; }
297
+ .icon-comments-alt:before { content: "\f0e6"; }
298
+ .icon-bolt:before { content: "\f0e7"; }
299
+ .icon-sitemap:before { content: "\f0e8"; }
300
+ .icon-umbrella:before { content: "\f0e9"; }
301
+ .icon-paste:before { content: "\f0ea"; }
302
+
303
+ .icon-user-md:before { content: "\f200"; }
metadata ADDED
@@ -0,0 +1,223 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: wysihtml5n-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Zohar Arad
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-06-30 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '3.1'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.1'
30
+ - !ruby/object:Gem::Dependency
31
+ name: railties
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '3.1'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '3.1'
46
+ - !ruby/object:Gem::Dependency
47
+ name: sass-rails
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '3.1'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '3.1'
62
+ - !ruby/object:Gem::Dependency
63
+ name: rake
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 0.9.2
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 0.9.2
78
+ description: WYSIHTML5-Enhanced is an HTML5 rich text editor based on wysihtml5, with
79
+ support for image drag & drop and UI powered by Twitter Bootstrap
80
+ email:
81
+ - zohar@zohararad.com
82
+ executables: []
83
+ extensions: []
84
+ extra_rdoc_files: []
85
+ files:
86
+ - lib/wysihtml5n/rails/engine.rb
87
+ - lib/wysihtml5n/rails/version.rb
88
+ - lib/wysihtml5n/rails.rb
89
+ - lib/wysihtml5n-rails.rb
90
+ - vendor/assets/fonts/wysihtml5n/fontawesome-webfont.eot
91
+ - vendor/assets/fonts/wysihtml5n/fontawesome-webfont.svg
92
+ - vendor/assets/fonts/wysihtml5n/fontawesome-webfont.ttf
93
+ - vendor/assets/fonts/wysihtml5n/fontawesome-webfont.woff
94
+ - vendor/assets/images/wysihtml5n/Jcrop.gif
95
+ - vendor/assets/javascripts/wysihtml5n/jcrop.js
96
+ - vendor/assets/javascripts/wysihtml5n/wysihtml5-0.3.0.js
97
+ - vendor/assets/javascripts/wysihtml5n/wysihtml5-enhanced.js
98
+ - vendor/assets/javascripts/wysihtml5n.js
99
+ - vendor/assets/stylesheets/wysihtml5n/_bootstrap.scss
100
+ - vendor/assets/stylesheets/wysihtml5n/_editor.scss
101
+ - vendor/assets/stylesheets/wysihtml5n/_font-awesome.scss
102
+ - vendor/assets/stylesheets/wysihtml5n.css.scss
103
+ - LICENSE
104
+ - README.md
105
+ - test/cases/usage_css_spec.rb
106
+ - test/cases/usage_js_spec.rb
107
+ - test/dummy/app/assets/javascripts/application.js
108
+ - test/dummy/app/assets/javascripts/individual.js
109
+ - test/dummy/app/assets/stylesheets/application.css.scss
110
+ - test/dummy/app/assets/stylesheets/individual.css.scss
111
+ - test/dummy/app/assets/stylesheets/sprockets.css
112
+ - test/dummy/app/controllers/application_controller.rb
113
+ - test/dummy/app/helpers/application_helper.rb
114
+ - test/dummy/app/views/layouts/application.html.erb
115
+ - test/dummy/config/application.rb
116
+ - test/dummy/config/boot.rb
117
+ - test/dummy/config/environment.rb
118
+ - test/dummy/config/environments/development.rb
119
+ - test/dummy/config/environments/production.rb
120
+ - test/dummy/config/environments/test.rb
121
+ - test/dummy/config/initializers/backtrace_silencers.rb
122
+ - test/dummy/config/initializers/inflections.rb
123
+ - test/dummy/config/initializers/mime_types.rb
124
+ - test/dummy/config/initializers/secret_token.rb
125
+ - test/dummy/config/initializers/session_store.rb
126
+ - test/dummy/config/initializers/wrap_parameters.rb
127
+ - test/dummy/config/locales/en.yml
128
+ - test/dummy/config/routes.rb
129
+ - test/dummy/config.ru
130
+ - test/dummy/log/test.log
131
+ - test/dummy/public/404.html
132
+ - test/dummy/public/422.html
133
+ - test/dummy/public/500.html
134
+ - test/dummy/public/favicon.ico
135
+ - test/dummy/Rakefile
136
+ - test/dummy/README.rdoc
137
+ - test/dummy/script/rails
138
+ - test/dummy/tmp/cache/sass/5338c0058b360de616e31cc6c7da71b4f9557c8f/application.css.scssc
139
+ - test/dummy/tmp/cache/sass/5338c0058b360de616e31cc6c7da71b4f9557c8f/individual.css.scssc
140
+ - test/dummy/tmp/cache/sass/960125ced7e54163fe33c2547bbd2af7f2929975/wysihtml5n.css.scssc
141
+ - test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/_bootstrap.scssc
142
+ - test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/_editor.scssc
143
+ - test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/_font-awesome.scssc
144
+ - test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/bootstrap.scssc
145
+ - test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/editor.scssc
146
+ - test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/font-awesome.scssc
147
+ - test/spec_helper.rb
148
+ - test/support/helpers.rb
149
+ homepage: https://github.com/zohararad/wysihtml5n-rails
150
+ licenses: []
151
+ post_install_message:
152
+ rdoc_options: []
153
+ require_paths:
154
+ - lib
155
+ required_ruby_version: !ruby/object:Gem::Requirement
156
+ none: false
157
+ requirements:
158
+ - - ! '>='
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ segments:
162
+ - 0
163
+ hash: 776757910725256154
164
+ required_rubygems_version: !ruby/object:Gem::Requirement
165
+ none: false
166
+ requirements:
167
+ - - ! '>='
168
+ - !ruby/object:Gem::Version
169
+ version: '0'
170
+ segments:
171
+ - 0
172
+ hash: 776757910725256154
173
+ requirements: []
174
+ rubyforge_project:
175
+ rubygems_version: 1.8.23
176
+ signing_key:
177
+ specification_version: 3
178
+ summary: WYSIHTML5-Enhanced Rich Text editor, converted to SASS and Rails asset pipeline
179
+ test_files:
180
+ - test/cases/usage_css_spec.rb
181
+ - test/cases/usage_js_spec.rb
182
+ - test/dummy/app/assets/javascripts/application.js
183
+ - test/dummy/app/assets/javascripts/individual.js
184
+ - test/dummy/app/assets/stylesheets/application.css.scss
185
+ - test/dummy/app/assets/stylesheets/individual.css.scss
186
+ - test/dummy/app/assets/stylesheets/sprockets.css
187
+ - test/dummy/app/controllers/application_controller.rb
188
+ - test/dummy/app/helpers/application_helper.rb
189
+ - test/dummy/app/views/layouts/application.html.erb
190
+ - test/dummy/config/application.rb
191
+ - test/dummy/config/boot.rb
192
+ - test/dummy/config/environment.rb
193
+ - test/dummy/config/environments/development.rb
194
+ - test/dummy/config/environments/production.rb
195
+ - test/dummy/config/environments/test.rb
196
+ - test/dummy/config/initializers/backtrace_silencers.rb
197
+ - test/dummy/config/initializers/inflections.rb
198
+ - test/dummy/config/initializers/mime_types.rb
199
+ - test/dummy/config/initializers/secret_token.rb
200
+ - test/dummy/config/initializers/session_store.rb
201
+ - test/dummy/config/initializers/wrap_parameters.rb
202
+ - test/dummy/config/locales/en.yml
203
+ - test/dummy/config/routes.rb
204
+ - test/dummy/config.ru
205
+ - test/dummy/log/test.log
206
+ - test/dummy/public/404.html
207
+ - test/dummy/public/422.html
208
+ - test/dummy/public/500.html
209
+ - test/dummy/public/favicon.ico
210
+ - test/dummy/Rakefile
211
+ - test/dummy/README.rdoc
212
+ - test/dummy/script/rails
213
+ - test/dummy/tmp/cache/sass/5338c0058b360de616e31cc6c7da71b4f9557c8f/application.css.scssc
214
+ - test/dummy/tmp/cache/sass/5338c0058b360de616e31cc6c7da71b4f9557c8f/individual.css.scssc
215
+ - test/dummy/tmp/cache/sass/960125ced7e54163fe33c2547bbd2af7f2929975/wysihtml5n.css.scssc
216
+ - test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/_bootstrap.scssc
217
+ - test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/_editor.scssc
218
+ - test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/_font-awesome.scssc
219
+ - test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/bootstrap.scssc
220
+ - test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/editor.scssc
221
+ - test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/font-awesome.scssc
222
+ - test/spec_helper.rb
223
+ - test/support/helpers.rb