foundation-wysihtml5-rails 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +3 -0
  3. data/CONTRIBUTING.md +5 -0
  4. data/Gemfile +4 -0
  5. data/README.md +82 -0
  6. data/Rakefile +78 -0
  7. data/foundation-wysihtml5-rails.gemspec +20 -0
  8. data/lib/foundation-wysihtml5-rails.rb +12 -0
  9. data/lib/foundation-wysihtml5-rails/engine.rb +9 -0
  10. data/lib/foundation-wysihtml5-rails/railtie.rb +5 -0
  11. data/lib/foundation-wysihtml5-rails/version.rb +5 -0
  12. data/vendor/assets/javascripts/foundation-wysihtml5/core.js.erb +514 -0
  13. data/vendor/assets/javascripts/foundation-wysihtml5/index.js +2 -0
  14. data/vendor/assets/javascripts/foundation-wysihtml5/locales/ar-AR.js +49 -0
  15. data/vendor/assets/javascripts/foundation-wysihtml5/locales/bg-BG.js +49 -0
  16. data/vendor/assets/javascripts/foundation-wysihtml5/locales/ca-CT.js +47 -0
  17. data/vendor/assets/javascripts/foundation-wysihtml5/locales/cs-CZ.js +48 -0
  18. data/vendor/assets/javascripts/foundation-wysihtml5/locales/da-DK.js +48 -0
  19. data/vendor/assets/javascripts/foundation-wysihtml5/locales/de-DE.js +49 -0
  20. data/vendor/assets/javascripts/foundation-wysihtml5/locales/el-GR.js +48 -0
  21. data/vendor/assets/javascripts/foundation-wysihtml5/locales/es-AR.js +49 -0
  22. data/vendor/assets/javascripts/foundation-wysihtml5/locales/es-ES.js +48 -0
  23. data/vendor/assets/javascripts/foundation-wysihtml5/locales/fr-FR.js +49 -0
  24. data/vendor/assets/javascripts/foundation-wysihtml5/locales/fr-NL.js +48 -0
  25. data/vendor/assets/javascripts/foundation-wysihtml5/locales/hr-HR.js +48 -0
  26. data/vendor/assets/javascripts/foundation-wysihtml5/locales/index.js +1 -0
  27. data/vendor/assets/javascripts/foundation-wysihtml5/locales/it-IT.js +47 -0
  28. data/vendor/assets/javascripts/foundation-wysihtml5/locales/ja-JP.js +49 -0
  29. data/vendor/assets/javascripts/foundation-wysihtml5/locales/ko-KR.js +49 -0
  30. data/vendor/assets/javascripts/foundation-wysihtml5/locales/lt-LT.js +48 -0
  31. data/vendor/assets/javascripts/foundation-wysihtml5/locales/mo-MD.js +48 -0
  32. data/vendor/assets/javascripts/foundation-wysihtml5/locales/nb-NB.js +49 -0
  33. data/vendor/assets/javascripts/foundation-wysihtml5/locales/nl-NL.js +48 -0
  34. data/vendor/assets/javascripts/foundation-wysihtml5/locales/pl-PL.js +48 -0
  35. data/vendor/assets/javascripts/foundation-wysihtml5/locales/pt-BR.js +48 -0
  36. data/vendor/assets/javascripts/foundation-wysihtml5/locales/ru-RU.js +49 -0
  37. data/vendor/assets/javascripts/foundation-wysihtml5/locales/sk-SK.js +48 -0
  38. data/vendor/assets/javascripts/foundation-wysihtml5/locales/sv-SE.js +48 -0
  39. data/vendor/assets/javascripts/foundation-wysihtml5/locales/tr-TR.js +48 -0
  40. data/vendor/assets/javascripts/foundation-wysihtml5/locales/ua-UA.js +49 -0
  41. data/vendor/assets/javascripts/foundation-wysihtml5/locales/zh-CN.js +48 -0
  42. data/vendor/assets/javascripts/foundation-wysihtml5/locales/zh-TW.js +48 -0
  43. data/vendor/assets/javascripts/foundation-wysihtml5/wysihtml5.js +9523 -0
  44. data/vendor/assets/stylesheets/foundation-wysihtml5/core.css +106 -0
  45. data/vendor/assets/stylesheets/foundation-wysihtml5/index.css +3 -0
  46. data/vendor/assets/stylesheets/foundation-wysihtml5/wysiwyg-color.css +67 -0
  47. metadata +133 -0
@@ -0,0 +1,106 @@
1
+ ul.wysihtml5-toolbar {
2
+ margin: 0;
3
+ padding: 0;
4
+ display: block;
5
+ }
6
+
7
+ ul.wysihtml5-toolbar::after {
8
+ clear: both;
9
+ display: table;
10
+ content: "";
11
+ }
12
+
13
+ ul.wysihtml5-toolbar > li {
14
+ float: left;
15
+ display: list-item;
16
+ list-style: none;
17
+ margin: 0 5px 10px 0;
18
+ }
19
+
20
+ ul.wysihtml5-toolbar a[data-wysihtml5-command=bold] {
21
+ font-weight: bold !important;
22
+ }
23
+
24
+ ul.wysihtml5-toolbar a[data-wysihtml5-command=italic] {
25
+ font-style: italic;
26
+ }
27
+
28
+ ul.wysihtml5-toolbar a[data-wysihtml5-command=underline] {
29
+ text-decoration: underline;
30
+ }
31
+
32
+ ul.wysihtml5-toolbar a.button {
33
+ margin-bottom: 0px
34
+ }
35
+
36
+ ul.wysihtml5-toolbar a.button.wysihtml5-command-active {
37
+ background-image: none;
38
+ -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
39
+ -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
40
+ box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
41
+ background-color: #E6E6E6;
42
+ background-color: #D9D9D9;
43
+ outline: 0;
44
+ }
45
+
46
+ ul.wysihtml5-commands-disabled .dropdown-menu {
47
+ display: none !important;
48
+ }
49
+
50
+ ul.wysihtml5-toolbar div.wysihtml5-colors {
51
+ display:block;
52
+ width: 50px;
53
+ height: 20px;
54
+ margin-top: 7px;
55
+ margin-left: 5px;
56
+ position: absolute;
57
+ pointer-events: none;
58
+ }
59
+
60
+ ul.wysihtml5-toolbar a.wysihtml5-colors-title {
61
+ padding-left: 70px;
62
+ }
63
+
64
+ ul.wysihtml5-toolbar div[data-wysihtml5-command-value="black"] {
65
+ background: black !important;
66
+ }
67
+
68
+ ul.wysihtml5-toolbar div[data-wysihtml5-command-value="silver"] {
69
+ background: silver !important;
70
+ }
71
+
72
+ ul.wysihtml5-toolbar div[data-wysihtml5-command-value="gray"] {
73
+ background: gray !important;
74
+ }
75
+
76
+ ul.wysihtml5-toolbar div[data-wysihtml5-command-value="maroon"] {
77
+ background: maroon !important;
78
+ }
79
+
80
+ ul.wysihtml5-toolbar div[data-wysihtml5-command-value="red"] {
81
+ background: red !important;
82
+ }
83
+
84
+ ul.wysihtml5-toolbar div[data-wysihtml5-command-value="purple"] {
85
+ background: purple !important;
86
+ }
87
+
88
+ ul.wysihtml5-toolbar div[data-wysihtml5-command-value="green"] {
89
+ background: green !important;
90
+ }
91
+
92
+ ul.wysihtml5-toolbar div[data-wysihtml5-command-value="olive"] {
93
+ background: olive !important;
94
+ }
95
+
96
+ ul.wysihtml5-toolbar div[data-wysihtml5-command-value="navy"] {
97
+ background: navy !important;
98
+ }
99
+
100
+ ul.wysihtml5-toolbar div[data-wysihtml5-command-value="blue"] {
101
+ background: blue !important;
102
+ }
103
+
104
+ ul.wysihtml5-toolbar div[data-wysihtml5-command-value="orange"] {
105
+ background: orange !important;
106
+ }
@@ -0,0 +1,3 @@
1
+ /*
2
+ *= require ./core
3
+ */
@@ -0,0 +1,67 @@
1
+ .wysiwyg-color-black {
2
+ color: black;
3
+ }
4
+
5
+ .wysiwyg-color-silver {
6
+ color: silver;
7
+ }
8
+
9
+ .wysiwyg-color-gray {
10
+ color: gray;
11
+ }
12
+
13
+ .wysiwyg-color-white {
14
+ color: white;
15
+ }
16
+
17
+ .wysiwyg-color-maroon {
18
+ color: maroon;
19
+ }
20
+
21
+ .wysiwyg-color-red {
22
+ color: red;
23
+ }
24
+
25
+ .wysiwyg-color-purple {
26
+ color: purple;
27
+ }
28
+
29
+ .wysiwyg-color-fuchsia {
30
+ color: fuchsia;
31
+ }
32
+
33
+ .wysiwyg-color-green {
34
+ color: green;
35
+ }
36
+
37
+ .wysiwyg-color-lime {
38
+ color: lime;
39
+ }
40
+
41
+ .wysiwyg-color-olive {
42
+ color: olive;
43
+ }
44
+
45
+ .wysiwyg-color-yellow {
46
+ color: yellow;
47
+ }
48
+
49
+ .wysiwyg-color-navy {
50
+ color: navy;
51
+ }
52
+
53
+ .wysiwyg-color-blue {
54
+ color: blue;
55
+ }
56
+
57
+ .wysiwyg-color-teal {
58
+ color: teal;
59
+ }
60
+
61
+ .wysiwyg-color-aqua {
62
+ color: aqua;
63
+ }
64
+
65
+ .wysiwyg-color-orange {
66
+ color: orange;
67
+ }
metadata ADDED
@@ -0,0 +1,133 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: foundation-wysihtml5-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Josemar Luedke
8
+ - Gonzalo Rodríguez-Baltanás Díaz
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-02-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: railties
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: '3.0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: '3.0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: bundler
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '1.0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '1.0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: rake
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ description: A wysiwyg text editor for Zurb Foundation
57
+ email:
58
+ - josemarluedke@gmail.com
59
+ - siotopo@gmail.com
60
+ executables: []
61
+ extensions: []
62
+ extra_rdoc_files: []
63
+ files:
64
+ - ".gitignore"
65
+ - CONTRIBUTING.md
66
+ - Gemfile
67
+ - README.md
68
+ - Rakefile
69
+ - foundation-wysihtml5-rails.gemspec
70
+ - lib/foundation-wysihtml5-rails.rb
71
+ - lib/foundation-wysihtml5-rails/engine.rb
72
+ - lib/foundation-wysihtml5-rails/railtie.rb
73
+ - lib/foundation-wysihtml5-rails/version.rb
74
+ - vendor/assets/javascripts/foundation-wysihtml5/core.js.erb
75
+ - vendor/assets/javascripts/foundation-wysihtml5/index.js
76
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/ar-AR.js
77
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/bg-BG.js
78
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/ca-CT.js
79
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/cs-CZ.js
80
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/da-DK.js
81
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/de-DE.js
82
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/el-GR.js
83
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/es-AR.js
84
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/es-ES.js
85
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/fr-FR.js
86
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/fr-NL.js
87
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/hr-HR.js
88
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/index.js
89
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/it-IT.js
90
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/ja-JP.js
91
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/ko-KR.js
92
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/lt-LT.js
93
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/mo-MD.js
94
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/nb-NB.js
95
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/nl-NL.js
96
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/pl-PL.js
97
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/pt-BR.js
98
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/ru-RU.js
99
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/sk-SK.js
100
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/sv-SE.js
101
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/tr-TR.js
102
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/ua-UA.js
103
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/zh-CN.js
104
+ - vendor/assets/javascripts/foundation-wysihtml5/locales/zh-TW.js
105
+ - vendor/assets/javascripts/foundation-wysihtml5/wysihtml5.js
106
+ - vendor/assets/stylesheets/foundation-wysihtml5/core.css
107
+ - vendor/assets/stylesheets/foundation-wysihtml5/index.css
108
+ - vendor/assets/stylesheets/foundation-wysihtml5/wysiwyg-color.css
109
+ homepage: https://github.com/josemarluedke/foundation-wysihtml5-rails
110
+ licenses:
111
+ - MIT
112
+ metadata: {}
113
+ post_install_message:
114
+ rdoc_options: []
115
+ require_paths:
116
+ - lib
117
+ required_ruby_version: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - ">="
120
+ - !ruby/object:Gem::Version
121
+ version: '0'
122
+ required_rubygems_version: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ requirements: []
128
+ rubyforge_project:
129
+ rubygems_version: 2.2.0
130
+ signing_key:
131
+ specification_version: 4
132
+ summary: A wysiwyg text editor for Zurb Foundation
133
+ test_files: []