wysiwyg-rails 4.0.1 → 4.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (152) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +21 -21
  3. data/README.md +148 -148
  4. data/Rakefile +5 -5
  5. data/app/assets/javascripts/froala_editor.min.js +2 -2
  6. data/app/assets/javascripts/froala_editor.pkgd.min.js +2 -2
  7. data/app/assets/javascripts/languages/ar.js +3 -3
  8. data/app/assets/javascripts/languages/bs.js +3 -3
  9. data/app/assets/javascripts/languages/cs.js +3 -3
  10. data/app/assets/javascripts/languages/da.js +3 -3
  11. data/app/assets/javascripts/languages/de.js +3 -3
  12. data/app/assets/javascripts/languages/el.js +3 -3
  13. data/app/assets/javascripts/languages/en_ca.js +3 -3
  14. data/app/assets/javascripts/languages/en_gb.js +3 -3
  15. data/app/assets/javascripts/languages/es.js +3 -3
  16. data/app/assets/javascripts/languages/et.js +3 -3
  17. data/app/assets/javascripts/languages/fa.js +3 -3
  18. data/app/assets/javascripts/languages/fi.js +3 -3
  19. data/app/assets/javascripts/languages/fr.js +7 -3
  20. data/app/assets/javascripts/languages/he.js +3 -3
  21. data/app/assets/javascripts/languages/hr.js +3 -3
  22. data/app/assets/javascripts/languages/hu.js +3 -3
  23. data/app/assets/javascripts/languages/id.js +3 -3
  24. data/app/assets/javascripts/languages/it.js +3 -3
  25. data/app/assets/javascripts/languages/ja.js +3 -3
  26. data/app/assets/javascripts/languages/ko.js +1 -1
  27. data/app/assets/javascripts/languages/ku.js +3 -3
  28. data/app/assets/javascripts/languages/me.js +3 -3
  29. data/app/assets/javascripts/languages/nb.js +3 -3
  30. data/app/assets/javascripts/languages/nl.js +3 -3
  31. data/app/assets/javascripts/languages/pl.js +3 -3
  32. data/app/assets/javascripts/languages/pt_br.js +3 -3
  33. data/app/assets/javascripts/languages/pt_pt.js +3 -3
  34. data/app/assets/javascripts/languages/ro.js +3 -3
  35. data/app/assets/javascripts/languages/ru.js +3 -3
  36. data/app/assets/javascripts/languages/sk.js +3 -3
  37. data/app/assets/javascripts/languages/sl.js +3 -3
  38. data/app/assets/javascripts/languages/sr.js +3 -3
  39. data/app/assets/javascripts/languages/sv.js +3 -3
  40. data/app/assets/javascripts/languages/th.js +3 -3
  41. data/app/assets/javascripts/languages/tr.js +3 -3
  42. data/app/assets/javascripts/languages/uk.js +3 -3
  43. data/app/assets/javascripts/languages/vi.js +1 -1
  44. data/app/assets/javascripts/languages/zh_cn.js +3 -3
  45. data/app/assets/javascripts/languages/zh_tw.js +3 -3
  46. data/app/assets/javascripts/plugins/align.min.js +1 -1
  47. data/app/assets/javascripts/plugins/char_counter.min.js +1 -1
  48. data/app/assets/javascripts/plugins/code_beautifier.min.js +1 -1
  49. data/app/assets/javascripts/plugins/code_view.min.js +1 -1
  50. data/app/assets/javascripts/plugins/colors.min.js +1 -1
  51. data/app/assets/javascripts/plugins/cryptojs.min.js +1 -1
  52. data/app/assets/javascripts/plugins/draggable.min.js +1 -1
  53. data/app/assets/javascripts/plugins/edit_in_popup.min.js +1 -1
  54. data/app/assets/javascripts/plugins/emoticons.min.js +1 -1
  55. data/app/assets/javascripts/plugins/entities.min.js +1 -1
  56. data/app/assets/javascripts/plugins/file.min.js +2 -2
  57. data/app/assets/javascripts/plugins/files_manager.min.js +2 -2
  58. data/app/assets/javascripts/plugins/font_family.min.js +1 -1
  59. data/app/assets/javascripts/plugins/font_size.min.js +1 -1
  60. data/app/assets/javascripts/plugins/forms.min.js +1 -1
  61. data/app/assets/javascripts/plugins/fullscreen.min.js +1 -1
  62. data/app/assets/javascripts/plugins/help.min.js +1 -1
  63. data/app/assets/javascripts/plugins/image.min.js +2 -2
  64. data/app/assets/javascripts/plugins/image_manager.min.js +1 -1
  65. data/app/assets/javascripts/plugins/inline_class.min.js +1 -1
  66. data/app/assets/javascripts/plugins/inline_style.min.js +1 -1
  67. data/app/assets/javascripts/plugins/line_breaker.min.js +1 -1
  68. data/app/assets/javascripts/plugins/line_height.min.js +1 -1
  69. data/app/assets/javascripts/plugins/link.min.js +2 -2
  70. data/app/assets/javascripts/plugins/lists.min.js +2 -2
  71. data/app/assets/javascripts/plugins/markdown.min.js +2 -2
  72. data/app/assets/javascripts/plugins/paragraph_format.min.js +2 -2
  73. data/app/assets/javascripts/plugins/paragraph_style.min.js +2 -2
  74. data/app/assets/javascripts/plugins/print.min.js +1 -1
  75. data/app/assets/javascripts/plugins/quick_insert.min.js +1 -1
  76. data/app/assets/javascripts/plugins/quote.min.js +1 -1
  77. data/app/assets/javascripts/plugins/save.min.js +1 -1
  78. data/app/assets/javascripts/plugins/special_characters.min.js +1 -1
  79. data/app/assets/javascripts/plugins/table.min.js +2 -2
  80. data/app/assets/javascripts/plugins/track_changes.min.js +2 -2
  81. data/app/assets/javascripts/plugins/trim_video.min.js +1 -1
  82. data/app/assets/javascripts/plugins/url.min.js +1 -1
  83. data/app/assets/javascripts/plugins/video.min.js +2 -2
  84. data/app/assets/javascripts/plugins/word_paste.min.js +2 -2
  85. data/app/assets/javascripts/plugins.pkgd.min.js +2 -2
  86. data/app/assets/javascripts/third_party/embedly.min.js +1 -1
  87. data/app/assets/javascripts/third_party/font_awesome.min.js +1 -1
  88. data/app/assets/javascripts/third_party/image_tui.min.js +1 -1
  89. data/app/assets/javascripts/third_party/showdown.min.js +1 -1
  90. data/app/assets/javascripts/third_party/spell_checker.min.js +1 -1
  91. data/app/assets/stylesheets/froala_editor.css +1422 -1423
  92. data/app/assets/stylesheets/froala_editor.min.css +2 -2
  93. data/app/assets/stylesheets/froala_editor.pkgd.css +4797 -4796
  94. data/app/assets/stylesheets/froala_editor.pkgd.min.css +2 -2
  95. data/app/assets/stylesheets/froala_style.css +357 -355
  96. data/app/assets/stylesheets/froala_style.min.css +2 -2
  97. data/app/assets/stylesheets/plugins/char_counter.css +44 -44
  98. data/app/assets/stylesheets/plugins/char_counter.min.css +2 -2
  99. data/app/assets/stylesheets/plugins/code_view.css +92 -92
  100. data/app/assets/stylesheets/plugins/code_view.min.css +2 -2
  101. data/app/assets/stylesheets/plugins/colors.css +93 -93
  102. data/app/assets/stylesheets/plugins/colors.min.css +2 -2
  103. data/app/assets/stylesheets/plugins/draggable.css +36 -36
  104. data/app/assets/stylesheets/plugins/draggable.min.css +2 -2
  105. data/app/assets/stylesheets/plugins/emoticons.css +29 -29
  106. data/app/assets/stylesheets/plugins/emoticons.min.css +2 -2
  107. data/app/assets/stylesheets/plugins/file.css +123 -123
  108. data/app/assets/stylesheets/plugins/file.min.css +2 -2
  109. data/app/assets/stylesheets/plugins/files_manager.css +1235 -1235
  110. data/app/assets/stylesheets/plugins/files_manager.min.css +2 -2
  111. data/app/assets/stylesheets/plugins/fullscreen.css +72 -72
  112. data/app/assets/stylesheets/plugins/fullscreen.min.css +2 -2
  113. data/app/assets/stylesheets/plugins/help.css +40 -40
  114. data/app/assets/stylesheets/plugins/help.min.css +2 -2
  115. data/app/assets/stylesheets/plugins/image.css +208 -206
  116. data/app/assets/stylesheets/plugins/image.min.css +2 -2
  117. data/app/assets/stylesheets/plugins/image_manager.css +231 -231
  118. data/app/assets/stylesheets/plugins/image_manager.min.css +2 -2
  119. data/app/assets/stylesheets/plugins/line_breaker.css +33 -33
  120. data/app/assets/stylesheets/plugins/line_breaker.min.css +2 -2
  121. data/app/assets/stylesheets/plugins/markdown.css +144 -147
  122. data/app/assets/stylesheets/plugins/markdown.min.css +2 -2
  123. data/app/assets/stylesheets/plugins/quick_insert.css +67 -67
  124. data/app/assets/stylesheets/plugins/quick_insert.min.css +2 -2
  125. data/app/assets/stylesheets/plugins/special_characters.css +28 -28
  126. data/app/assets/stylesheets/plugins/special_characters.min.css +2 -2
  127. data/app/assets/stylesheets/plugins/table.css +106 -106
  128. data/app/assets/stylesheets/plugins/table.min.css +2 -2
  129. data/app/assets/stylesheets/plugins/trim_video.css +242 -242
  130. data/app/assets/stylesheets/plugins/trim_video.min.css +2 -2
  131. data/app/assets/stylesheets/plugins/video.css +196 -196
  132. data/app/assets/stylesheets/plugins/video.min.css +2 -2
  133. data/app/assets/stylesheets/plugins.pkgd.css +3018 -3018
  134. data/app/assets/stylesheets/plugins.pkgd.min.css +2 -2
  135. data/app/assets/stylesheets/themes/dark.css +2186 -2186
  136. data/app/assets/stylesheets/themes/dark.min.css +2 -2
  137. data/app/assets/stylesheets/themes/gray.css +2186 -2186
  138. data/app/assets/stylesheets/themes/gray.min.css +2 -2
  139. data/app/assets/stylesheets/themes/royal.css +2186 -2186
  140. data/app/assets/stylesheets/themes/royal.min.css +2 -2
  141. data/app/assets/stylesheets/third_party/embedly.css +55 -55
  142. data/app/assets/stylesheets/third_party/embedly.min.css +2 -2
  143. data/app/assets/stylesheets/third_party/font_awesome.css +28 -28
  144. data/app/assets/stylesheets/third_party/font_awesome.min.css +2 -2
  145. data/app/assets/stylesheets/third_party/image_tui.css +36 -36
  146. data/app/assets/stylesheets/third_party/image_tui.min.css +2 -2
  147. data/app/assets/stylesheets/third_party/spell_checker.css +59 -59
  148. data/app/assets/stylesheets/third_party/spell_checker.min.css +2 -2
  149. data/lib/wysiwyg-rails/engine.rb +16 -16
  150. data/lib/wysiwyg-rails/version.rb +5 -5
  151. data/lib/wysiwyg-rails.rb +1 -1
  152. metadata +3 -3
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.0.7 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2021 Froala Labs
5
5
  */
6
6
 
7
- .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.tui-image-editor-container{position:fixed;top:0;left:0;bottom:0;right:0;height:100%;width:100%;z-index:10}.tui-editor-cancel-btn{background-color:#FFF;border:1px solid #ccc;color:#222}.tui-editor-save-btn{background-color:#fdba3b;border:1px solid #fdba3b;color:#FFF}
7
+ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.tui-image-editor-container{position:fixed;top:0;left:0;bottom:0;right:0;height:100%;width:100%;z-index:10}.tui-editor-cancel-btn{background-color:#FFF;border:1px solid #ccc;color:#222}.tui-editor-save-btn{background-color:#fdba3b;border:1px solid #fdba3b;color:#FFF}
@@ -1,64 +1,64 @@
1
1
  /*!
2
- * froala_editor v4.0.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.0.7 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2021 Froala Labs
5
5
  */
6
6
 
7
- .fr-clearfix::after {
8
- clear: both;
9
- display: block;
10
- content: "";
11
- height: 0; }
12
-
13
- .fr-hide-by-clipping {
14
- position: absolute;
15
- width: 1px;
16
- height: 1px;
17
- padding: 0;
18
- margin: -1px;
19
- overflow: hidden;
20
- clip: rect(0, 0, 0, 0);
21
- border: 0; }
22
-
23
- .examples-variante > a {
24
- font-size: 14px;
25
- font-family: Arial, Helvetica, sans-serif; }
26
-
27
- .sc-cm-holder > .sc-cm {
28
- border-top: 5px solid #222222 !important;
29
- padding: 0 !important;
30
- line-height: 200% !important; }
31
-
32
- .sc-cm .sc-cm__item.examples-variante.sc-cm__item_active > a > i {
33
- display: none !important; }
34
-
35
- .sc-cm .sc-cm__item.examples-variante > a > i {
36
- display: none !important; }
37
-
38
- .sc-cm__item_dropdown .i-icon {
39
- display: none !important; }
40
-
41
- .sc-cm__item_dropdown .i-icon::before {
42
- display: none !important; }
43
-
44
- .sc-cm::before {
45
- display: none !important; }
46
-
47
- div.sc-cm-holder.sc-cm_show > ul > li.sc-cm__item.sc-cm__item_dropdown.sc-cm__item_arrow > div > ul {
48
- border-style: none !important;
49
- padding: 0 !important; }
50
-
51
- .sc-cm__item_dropdown:hover > a, .sc-cm a:hover {
52
- background-color: #ebebeb !important; }
53
-
54
- .sc-cm__item_active > a, .sc-cm__item_active > a:hover, .sc-cm a:active, .sc-cm a:focus {
55
- background-color: #d6d6d6 !important; }
56
-
57
- .sc-cm__item > a {
58
- line-height: 200% !important; }
59
-
60
- .sc-cm-holder > .sc-cm:before {
61
- background-color: #ebebeb !important; }
62
-
63
- .sc-cm-holder {
64
- display: none; }
7
+ .fr-clearfix::after {
8
+ clear: both;
9
+ display: block;
10
+ content: "";
11
+ height: 0; }
12
+
13
+ .fr-hide-by-clipping {
14
+ position: absolute;
15
+ width: 1px;
16
+ height: 1px;
17
+ padding: 0;
18
+ margin: -1px;
19
+ overflow: hidden;
20
+ clip: rect(0, 0, 0, 0);
21
+ border: 0; }
22
+
23
+ .examples-variante > a {
24
+ font-size: 14px;
25
+ font-family: Arial, Helvetica, sans-serif; }
26
+
27
+ .sc-cm-holder > .sc-cm {
28
+ border-top: 5px solid #222222 !important;
29
+ padding: 0 !important;
30
+ line-height: 200% !important; }
31
+
32
+ .sc-cm .sc-cm__item.examples-variante.sc-cm__item_active > a > i {
33
+ display: none !important; }
34
+
35
+ .sc-cm .sc-cm__item.examples-variante > a > i {
36
+ display: none !important; }
37
+
38
+ .sc-cm__item_dropdown .i-icon {
39
+ display: none !important; }
40
+
41
+ .sc-cm__item_dropdown .i-icon::before {
42
+ display: none !important; }
43
+
44
+ .sc-cm::before {
45
+ display: none !important; }
46
+
47
+ div.sc-cm-holder.sc-cm_show > ul > li.sc-cm__item.sc-cm__item_dropdown.sc-cm__item_arrow > div > ul {
48
+ border-style: none !important;
49
+ padding: 0 !important; }
50
+
51
+ .sc-cm__item_dropdown:hover > a, .sc-cm a:hover {
52
+ background-color: #ebebeb !important; }
53
+
54
+ .sc-cm__item_active > a, .sc-cm__item_active > a:hover, .sc-cm a:active, .sc-cm a:focus {
55
+ background-color: #d6d6d6 !important; }
56
+
57
+ .sc-cm__item > a {
58
+ line-height: 200% !important; }
59
+
60
+ .sc-cm-holder > .sc-cm:before {
61
+ background-color: #ebebeb !important; }
62
+
63
+ .sc-cm-holder {
64
+ display: none; }
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.0.7 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2021 Froala Labs
5
5
  */
6
6
 
7
- .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-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}
7
+ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-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}
@@ -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 = "4.0.1"
4
- end
5
- end
1
+ module WYSIWYG
2
+ module Rails
3
+ VERSION = "4.0.7"
4
+ end
5
+ end
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)
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: 4.0.1
4
+ version: 4.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Froala Labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-08 00:00:00.000000000 Z
11
+ date: 2021-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
209
  requirements: []
210
- rubygems_version: 3.0.3.1
210
+ rubygems_version: 3.2.22
211
211
  signing_key:
212
212
  specification_version: 4
213
213
  summary: an asset gemification of the Froala WYSIWYG Editor library