wysiwyg-rails 2.9.8 → 3.0.0.pre.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +21 -21
  3. data/README.md +123 -175
  4. data/Rakefile +5 -5
  5. data/app/assets/javascripts/froala_editor.min.js +1 -7
  6. data/app/assets/javascripts/froala_editor.pkgd.min.js +1 -7
  7. data/app/assets/javascripts/languages/ar.js +277 -336
  8. data/app/assets/javascripts/languages/bs.js +277 -336
  9. data/app/assets/javascripts/languages/cs.js +277 -336
  10. data/app/assets/javascripts/languages/da.js +275 -333
  11. data/app/assets/javascripts/languages/de.js +277 -336
  12. data/app/assets/javascripts/languages/el.js +283 -342
  13. data/app/assets/javascripts/languages/en_ca.js +221 -280
  14. data/app/assets/javascripts/languages/en_gb.js +221 -280
  15. data/app/assets/javascripts/languages/es.js +277 -342
  16. data/app/assets/javascripts/languages/et.js +277 -336
  17. data/app/assets/javascripts/languages/fa.js +277 -336
  18. data/app/assets/javascripts/languages/fi.js +277 -336
  19. data/app/assets/javascripts/languages/fr.js +277 -336
  20. data/app/assets/javascripts/languages/he.js +277 -336
  21. data/app/assets/javascripts/languages/hr.js +277 -336
  22. data/app/assets/javascripts/languages/hu.js +277 -336
  23. data/app/assets/javascripts/languages/id.js +277 -337
  24. data/app/assets/javascripts/languages/it.js +277 -336
  25. data/app/assets/javascripts/languages/ja.js +277 -336
  26. data/app/assets/javascripts/languages/ko.js +277 -336
  27. data/app/assets/javascripts/languages/ku.js +270 -329
  28. data/app/assets/javascripts/languages/me.js +277 -336
  29. data/app/assets/javascripts/languages/nb.js +277 -336
  30. data/app/assets/javascripts/languages/nl.js +277 -336
  31. data/app/assets/javascripts/languages/pl.js +277 -336
  32. data/app/assets/javascripts/languages/pt_br.js +277 -336
  33. data/app/assets/javascripts/languages/pt_pt.js +277 -336
  34. data/app/assets/javascripts/languages/ro.js +277 -336
  35. data/app/assets/javascripts/languages/ru.js +277 -336
  36. data/app/assets/javascripts/languages/sk.js +277 -336
  37. data/app/assets/javascripts/languages/sr.js +277 -336
  38. data/app/assets/javascripts/languages/sv.js +277 -336
  39. data/app/assets/javascripts/languages/th.js +277 -336
  40. data/app/assets/javascripts/languages/tr.js +277 -336
  41. data/app/assets/javascripts/languages/uk.js +277 -336
  42. data/app/assets/javascripts/languages/vi.js +218 -276
  43. data/app/assets/javascripts/languages/zh_cn.js +277 -336
  44. data/app/assets/javascripts/languages/zh_tw.js +277 -336
  45. data/app/assets/javascripts/plugins/align.min.js +1 -7
  46. data/app/assets/javascripts/plugins/char_counter.min.js +1 -7
  47. data/app/assets/javascripts/plugins/code_beautifier.min.js +1 -7
  48. data/app/assets/javascripts/plugins/code_view.min.js +1 -7
  49. data/app/assets/javascripts/plugins/colors.min.js +1 -7
  50. data/app/assets/javascripts/plugins/draggable.min.js +1 -7
  51. data/app/assets/javascripts/plugins/edit_in_popup.min.js +1 -0
  52. data/app/assets/javascripts/plugins/emoticons.min.js +1 -7
  53. data/app/assets/javascripts/plugins/entities.min.js +1 -7
  54. data/app/assets/javascripts/plugins/file.min.js +1 -7
  55. data/app/assets/javascripts/plugins/font_family.min.js +1 -7
  56. data/app/assets/javascripts/plugins/font_size.min.js +1 -7
  57. data/app/assets/javascripts/plugins/forms.min.js +1 -7
  58. data/app/assets/javascripts/plugins/fullscreen.min.js +1 -7
  59. data/app/assets/javascripts/plugins/help.min.js +1 -7
  60. data/app/assets/javascripts/plugins/image.min.js +1 -7
  61. data/app/assets/javascripts/plugins/image_manager.min.js +1 -7
  62. data/app/assets/javascripts/plugins/inline_class.min.js +1 -7
  63. data/app/assets/javascripts/plugins/inline_style.min.js +1 -7
  64. data/app/assets/javascripts/plugins/line_breaker.min.js +1 -7
  65. data/app/assets/javascripts/plugins/line_height.min.js +1 -7
  66. data/app/assets/javascripts/plugins/link.min.js +1 -7
  67. data/app/assets/javascripts/plugins/lists.min.js +1 -7
  68. data/app/assets/javascripts/plugins/paragraph_format.min.js +1 -7
  69. data/app/assets/javascripts/plugins/paragraph_style.min.js +1 -7
  70. data/app/assets/javascripts/plugins/print.min.js +1 -7
  71. data/app/assets/javascripts/plugins/quick_insert.min.js +1 -7
  72. data/app/assets/javascripts/plugins/quote.min.js +1 -7
  73. data/app/assets/javascripts/plugins/save.min.js +1 -7
  74. data/app/assets/javascripts/plugins/special_characters.min.js +1 -7
  75. data/app/assets/javascripts/plugins/table.min.js +1 -7
  76. data/app/assets/javascripts/plugins/url.min.js +1 -7
  77. data/app/assets/javascripts/plugins/video.min.js +1 -7
  78. data/app/assets/javascripts/plugins/word_paste.min.js +1 -7
  79. data/app/assets/javascripts/third_party/embedly.min.js +1 -7
  80. data/app/assets/javascripts/third_party/font_awesome.min.js +1 -7
  81. data/app/assets/javascripts/third_party/image_aviary.min.js +6 -6
  82. data/app/assets/javascripts/third_party/image_tui.min.js +1 -7
  83. data/app/assets/javascripts/third_party/spell_checker.min.js +1 -7
  84. data/app/assets/stylesheets/froala_editor.css +1341 -1337
  85. data/app/assets/stylesheets/froala_editor.min.css +2 -7
  86. data/app/assets/stylesheets/froala_editor.pkgd.css +3057 -2987
  87. data/app/assets/stylesheets/froala_editor.pkgd.min.css +2 -7
  88. data/app/assets/stylesheets/froala_style.css +349 -452
  89. data/app/assets/stylesheets/froala_style.min.css +2 -7
  90. data/app/assets/stylesheets/plugins/char_counter.css +45 -57
  91. data/app/assets/stylesheets/plugins/char_counter.min.css +2 -7
  92. data/app/assets/stylesheets/plugins/code_view.css +93 -112
  93. data/app/assets/stylesheets/plugins/code_view.min.css +2 -7
  94. data/app/assets/stylesheets/plugins/colors.css +95 -155
  95. data/app/assets/stylesheets/plugins/colors.min.css +2 -7
  96. data/app/assets/stylesheets/plugins/draggable.css +37 -43
  97. data/app/assets/stylesheets/plugins/draggable.min.css +2 -7
  98. data/app/assets/stylesheets/plugins/emoticons.css +27 -42
  99. data/app/assets/stylesheets/plugins/emoticons.min.css +2 -7
  100. data/app/assets/stylesheets/plugins/file.css +124 -146
  101. data/app/assets/stylesheets/plugins/file.min.css +2 -7
  102. data/app/assets/stylesheets/plugins/fullscreen.css +58 -35
  103. data/app/assets/stylesheets/plugins/fullscreen.min.css +2 -7
  104. data/app/assets/stylesheets/plugins/help.css +41 -52
  105. data/app/assets/stylesheets/plugins/help.min.css +2 -7
  106. data/app/assets/stylesheets/plugins/image.css +207 -245
  107. data/app/assets/stylesheets/plugins/image.min.css +2 -7
  108. data/app/assets/stylesheets/plugins/image_manager.css +229 -268
  109. data/app/assets/stylesheets/plugins/image_manager.min.css +2 -7
  110. data/app/assets/stylesheets/plugins/line_breaker.css +34 -37
  111. data/app/assets/stylesheets/plugins/line_breaker.min.css +2 -7
  112. data/app/assets/stylesheets/plugins/quick_insert.css +68 -70
  113. data/app/assets/stylesheets/plugins/quick_insert.min.css +2 -7
  114. data/app/assets/stylesheets/plugins/special_characters.css +26 -51
  115. data/app/assets/stylesheets/plugins/special_characters.min.css +2 -7
  116. data/app/assets/stylesheets/plugins/table.css +107 -181
  117. data/app/assets/stylesheets/plugins/table.min.css +2 -7
  118. data/app/assets/stylesheets/plugins/video.css +194 -231
  119. data/app/assets/stylesheets/plugins/video.min.css +2 -7
  120. data/app/assets/stylesheets/themes/dark.css +1873 -1336
  121. data/app/assets/stylesheets/themes/dark.min.css +2 -7
  122. data/app/assets/stylesheets/themes/gray.css +1873 -1336
  123. data/app/assets/stylesheets/themes/gray.min.css +2 -7
  124. data/app/assets/stylesheets/themes/red.css +1326 -1336
  125. data/app/assets/stylesheets/themes/red.min.css +7 -7
  126. data/app/assets/stylesheets/themes/royal.css +1326 -1336
  127. data/app/assets/stylesheets/themes/royal.min.css +7 -7
  128. data/app/assets/stylesheets/third_party/embedly.css +56 -64
  129. data/app/assets/stylesheets/third_party/embedly.min.css +2 -7
  130. data/app/assets/stylesheets/third_party/font_awesome.css +20 -50
  131. data/app/assets/stylesheets/third_party/font_awesome.min.css +2 -7
  132. data/app/assets/stylesheets/third_party/image_tui.css +37 -42
  133. data/app/assets/stylesheets/third_party/image_tui.min.css +2 -7
  134. data/app/assets/stylesheets/third_party/spell_checker.css +60 -72
  135. data/app/assets/stylesheets/third_party/spell_checker.min.css +2 -7
  136. data/lib/wysiwyg-rails.rb +1 -1
  137. data/lib/wysiwyg-rails/engine.rb +16 -16
  138. data/lib/wysiwyg-rails/version.rb +5 -5
  139. metadata +9 -8
@@ -1,7 +1,2 @@
1
- /*!
2
- * froala_editor v2.9.8 (https://www.froala.com/wysiwyg-editor)
3
- * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2020 Froala Labs
5
- */
6
-
7
- .clearfix::after{clear:both;display:block;content:"";height:0}.hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.examples-variante>a{font-size:14px;font-family:Arial,Helvetica,sans-serif}.sc-cm-holder>.sc-cm{border-top:5px solid #222!important;padding:0!important;line-height:200%!important;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 1px 1px rgba(0,0,0,.16);-moz-box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 1px 1px rgba(0,0,0,.16);box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 1px 1px rgba(0,0,0,.16)}.sc-cm .sc-cm__item.examples-variante.sc-cm__item_active>a>i{display:none!important}.sc-cm .sc-cm__item.examples-variante>a>i{display:none!important}.sc-cm__item_dropdown .i-icon{display:none!important}.sc-cm__item_dropdown .i-icon::before{display:none!important}.sc-cm::before{display:none!important}div.sc-cm-holder.sc-cm_show>ul>li.sc-cm__item.sc-cm__item_dropdown.sc-cm__item_arrow>div>ul{border-style:none!important;padding:0!important}.sc-cm__item_dropdown:hover>a,.sc-cm a:hover{background-color:#ebebeb!important}.sc-cm__item_active>a,.sc-cm__item_active>a:hover,.sc-cm a:active,.sc-cm a:focus{background-color:#d6d6d6!important}.sc-cm__item>a{line-height:200%!important}.sc-cm-holder>.sc-cm:before{background-color:#ebebeb!important}.sc-cm-holder{display:none}
1
+ .clearfix::after{clear:both;display:block;content:"";height:0}.hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.examples-variante>a{font-size:14px;font-family:Arial,Helvetica,sans-serif}.sc-cm-holder>.sc-cm{border-top:5px solid #222 !important;padding:0 !important;line-height:200% !important}.sc-cm .sc-cm__item.examples-variante.sc-cm__item_active>a>i{display:none !important}.sc-cm .sc-cm__item.examples-variante>a>i{display:none !important}.sc-cm__item_dropdown .i-icon{display:none !important}.sc-cm__item_dropdown .i-icon::before{display:none !important}.sc-cm::before{display:none !important}div.sc-cm-holder.sc-cm_show>ul>li.sc-cm__item.sc-cm__item_dropdown.sc-cm__item_arrow>div>ul{border-style:none !important;padding:0 !important}.sc-cm__item_dropdown:hover>a,.sc-cm a:hover{background-color:#ebebeb !important}.sc-cm__item_active>a,.sc-cm__item_active>a:hover,.sc-cm a:active,.sc-cm a:focus{background-color:#d6d6d6 !important}.sc-cm__item>a{line-height:200% !important}.sc-cm-holder>.sc-cm:before{background-color:#ebebeb !important}.sc-cm-holder{display:none}
2
+ /*# sourceMappingURL=spell_checker.min.css.map */
data/lib/wysiwyg-rails.rb CHANGED
@@ -1,2 +1,2 @@
1
- require "wysiwyg-rails/version"
1
+ require "wysiwyg-rails/version"
2
2
  require "wysiwyg-rails/engine" if defined?(::Rails)
@@ -1,17 +1,17 @@
1
- module WYSIWYG
2
- module Rails
3
- class Engine < ::Rails::Engine
4
- initializer 'froala.assets.precompile', group: :all do |app|
5
- app.config.assets.precompile += %W(
6
- froala_editor.min.js
7
- plugins/*.js
8
- languages/*.js
9
- froala_editor.min.css
10
- froala_style.min.css
11
- plugins/*.css
12
- themes/*.css
13
- )
14
- end
15
- end
16
- end
1
+ module WYSIWYG
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ initializer 'froala.assets.precompile', group: :all do |app|
5
+ app.config.assets.precompile += %W(
6
+ froala_editor.min.js
7
+ plugins/*.js
8
+ languages/*.js
9
+ froala_editor.min.css
10
+ froala_style.min.css
11
+ plugins/*.css
12
+ themes/*.css
13
+ )
14
+ end
15
+ end
16
+ end
17
17
  end
@@ -1,5 +1,5 @@
1
- module WYSIWYG
2
- module Rails
3
- VERSION = "2.9.8"
4
- end
5
- end
1
+ module WYSIWYG
2
+ module Rails
3
+ VERSION = "3.0.0-beta.1"
4
+ end
5
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wysiwyg-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.8
4
+ version: 3.0.0.pre.beta.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Froala Labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-30 00:00:00.000000000 Z
11
+ date: 2019-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.0'
22
+ version: '6.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,9 +29,9 @@ dependencies:
29
29
  version: '3.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.0'
33
- description: A beautiful jQuery WYSIWYG HTML text editor. High performance and modern
34
- design make it easy to use for developers and loved by users.
32
+ version: '6.0'
33
+ description: A beautiful WYSIWYG HTML text editor. High performance and modern design
34
+ make it easy to use for developers and loved by users.
35
35
  email:
36
36
  - stefan@froala.com
37
37
  executables: []
@@ -87,6 +87,7 @@ files:
87
87
  - app/assets/javascripts/plugins/code_view.min.js
88
88
  - app/assets/javascripts/plugins/colors.min.js
89
89
  - app/assets/javascripts/plugins/draggable.min.js
90
+ - app/assets/javascripts/plugins/edit_in_popup.min.js
90
91
  - app/assets/javascripts/plugins/emoticons.min.js
91
92
  - app/assets/javascripts/plugins/entities.min.js
92
93
  - app/assets/javascripts/plugins/file.min.js
@@ -189,9 +190,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
189
190
  version: '0'
190
191
  required_rubygems_version: !ruby/object:Gem::Requirement
191
192
  requirements:
192
- - - ">="
193
+ - - ">"
193
194
  - !ruby/object:Gem::Version
194
- version: '0'
195
+ version: 1.3.1
195
196
  requirements: []
196
197
  rubygems_version: 3.0.3
197
198
  signing_key: