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.
- checksums.yaml +4 -4
- data/LICENSE +21 -21
- data/README.md +148 -148
- data/Rakefile +5 -5
- data/app/assets/javascripts/froala_editor.min.js +2 -2
- data/app/assets/javascripts/froala_editor.pkgd.min.js +2 -2
- data/app/assets/javascripts/languages/ar.js +3 -3
- data/app/assets/javascripts/languages/bs.js +3 -3
- data/app/assets/javascripts/languages/cs.js +3 -3
- data/app/assets/javascripts/languages/da.js +3 -3
- data/app/assets/javascripts/languages/de.js +3 -3
- data/app/assets/javascripts/languages/el.js +3 -3
- data/app/assets/javascripts/languages/en_ca.js +3 -3
- data/app/assets/javascripts/languages/en_gb.js +3 -3
- data/app/assets/javascripts/languages/es.js +3 -3
- data/app/assets/javascripts/languages/et.js +3 -3
- data/app/assets/javascripts/languages/fa.js +3 -3
- data/app/assets/javascripts/languages/fi.js +3 -3
- data/app/assets/javascripts/languages/fr.js +7 -3
- data/app/assets/javascripts/languages/he.js +3 -3
- data/app/assets/javascripts/languages/hr.js +3 -3
- data/app/assets/javascripts/languages/hu.js +3 -3
- data/app/assets/javascripts/languages/id.js +3 -3
- data/app/assets/javascripts/languages/it.js +3 -3
- data/app/assets/javascripts/languages/ja.js +3 -3
- data/app/assets/javascripts/languages/ko.js +1 -1
- data/app/assets/javascripts/languages/ku.js +3 -3
- data/app/assets/javascripts/languages/me.js +3 -3
- data/app/assets/javascripts/languages/nb.js +3 -3
- data/app/assets/javascripts/languages/nl.js +3 -3
- data/app/assets/javascripts/languages/pl.js +3 -3
- data/app/assets/javascripts/languages/pt_br.js +3 -3
- data/app/assets/javascripts/languages/pt_pt.js +3 -3
- data/app/assets/javascripts/languages/ro.js +3 -3
- data/app/assets/javascripts/languages/ru.js +3 -3
- data/app/assets/javascripts/languages/sk.js +3 -3
- data/app/assets/javascripts/languages/sl.js +3 -3
- data/app/assets/javascripts/languages/sr.js +3 -3
- data/app/assets/javascripts/languages/sv.js +3 -3
- data/app/assets/javascripts/languages/th.js +3 -3
- data/app/assets/javascripts/languages/tr.js +3 -3
- data/app/assets/javascripts/languages/uk.js +3 -3
- data/app/assets/javascripts/languages/vi.js +1 -1
- data/app/assets/javascripts/languages/zh_cn.js +3 -3
- data/app/assets/javascripts/languages/zh_tw.js +3 -3
- data/app/assets/javascripts/plugins/align.min.js +1 -1
- data/app/assets/javascripts/plugins/char_counter.min.js +1 -1
- data/app/assets/javascripts/plugins/code_beautifier.min.js +1 -1
- data/app/assets/javascripts/plugins/code_view.min.js +1 -1
- data/app/assets/javascripts/plugins/colors.min.js +1 -1
- data/app/assets/javascripts/plugins/cryptojs.min.js +1 -1
- data/app/assets/javascripts/plugins/draggable.min.js +1 -1
- data/app/assets/javascripts/plugins/edit_in_popup.min.js +1 -1
- data/app/assets/javascripts/plugins/emoticons.min.js +1 -1
- data/app/assets/javascripts/plugins/entities.min.js +1 -1
- data/app/assets/javascripts/plugins/file.min.js +2 -2
- data/app/assets/javascripts/plugins/files_manager.min.js +2 -2
- data/app/assets/javascripts/plugins/font_family.min.js +1 -1
- data/app/assets/javascripts/plugins/font_size.min.js +1 -1
- data/app/assets/javascripts/plugins/forms.min.js +1 -1
- data/app/assets/javascripts/plugins/fullscreen.min.js +1 -1
- data/app/assets/javascripts/plugins/help.min.js +1 -1
- data/app/assets/javascripts/plugins/image.min.js +2 -2
- data/app/assets/javascripts/plugins/image_manager.min.js +1 -1
- data/app/assets/javascripts/plugins/inline_class.min.js +1 -1
- data/app/assets/javascripts/plugins/inline_style.min.js +1 -1
- data/app/assets/javascripts/plugins/line_breaker.min.js +1 -1
- data/app/assets/javascripts/plugins/line_height.min.js +1 -1
- data/app/assets/javascripts/plugins/link.min.js +2 -2
- data/app/assets/javascripts/plugins/lists.min.js +2 -2
- data/app/assets/javascripts/plugins/markdown.min.js +2 -2
- data/app/assets/javascripts/plugins/paragraph_format.min.js +2 -2
- data/app/assets/javascripts/plugins/paragraph_style.min.js +2 -2
- data/app/assets/javascripts/plugins/print.min.js +1 -1
- data/app/assets/javascripts/plugins/quick_insert.min.js +1 -1
- data/app/assets/javascripts/plugins/quote.min.js +1 -1
- data/app/assets/javascripts/plugins/save.min.js +1 -1
- data/app/assets/javascripts/plugins/special_characters.min.js +1 -1
- data/app/assets/javascripts/plugins/table.min.js +2 -2
- data/app/assets/javascripts/plugins/track_changes.min.js +2 -2
- data/app/assets/javascripts/plugins/trim_video.min.js +1 -1
- data/app/assets/javascripts/plugins/url.min.js +1 -1
- data/app/assets/javascripts/plugins/video.min.js +2 -2
- data/app/assets/javascripts/plugins/word_paste.min.js +2 -2
- data/app/assets/javascripts/plugins.pkgd.min.js +2 -2
- data/app/assets/javascripts/third_party/embedly.min.js +1 -1
- data/app/assets/javascripts/third_party/font_awesome.min.js +1 -1
- data/app/assets/javascripts/third_party/image_tui.min.js +1 -1
- data/app/assets/javascripts/third_party/showdown.min.js +1 -1
- data/app/assets/javascripts/third_party/spell_checker.min.js +1 -1
- data/app/assets/stylesheets/froala_editor.css +1422 -1423
- data/app/assets/stylesheets/froala_editor.min.css +2 -2
- data/app/assets/stylesheets/froala_editor.pkgd.css +4797 -4796
- data/app/assets/stylesheets/froala_editor.pkgd.min.css +2 -2
- data/app/assets/stylesheets/froala_style.css +357 -355
- data/app/assets/stylesheets/froala_style.min.css +2 -2
- data/app/assets/stylesheets/plugins/char_counter.css +44 -44
- data/app/assets/stylesheets/plugins/char_counter.min.css +2 -2
- data/app/assets/stylesheets/plugins/code_view.css +92 -92
- data/app/assets/stylesheets/plugins/code_view.min.css +2 -2
- data/app/assets/stylesheets/plugins/colors.css +93 -93
- data/app/assets/stylesheets/plugins/colors.min.css +2 -2
- data/app/assets/stylesheets/plugins/draggable.css +36 -36
- data/app/assets/stylesheets/plugins/draggable.min.css +2 -2
- data/app/assets/stylesheets/plugins/emoticons.css +29 -29
- data/app/assets/stylesheets/plugins/emoticons.min.css +2 -2
- data/app/assets/stylesheets/plugins/file.css +123 -123
- data/app/assets/stylesheets/plugins/file.min.css +2 -2
- data/app/assets/stylesheets/plugins/files_manager.css +1235 -1235
- data/app/assets/stylesheets/plugins/files_manager.min.css +2 -2
- data/app/assets/stylesheets/plugins/fullscreen.css +72 -72
- data/app/assets/stylesheets/plugins/fullscreen.min.css +2 -2
- data/app/assets/stylesheets/plugins/help.css +40 -40
- data/app/assets/stylesheets/plugins/help.min.css +2 -2
- data/app/assets/stylesheets/plugins/image.css +208 -206
- data/app/assets/stylesheets/plugins/image.min.css +2 -2
- data/app/assets/stylesheets/plugins/image_manager.css +231 -231
- data/app/assets/stylesheets/plugins/image_manager.min.css +2 -2
- data/app/assets/stylesheets/plugins/line_breaker.css +33 -33
- data/app/assets/stylesheets/plugins/line_breaker.min.css +2 -2
- data/app/assets/stylesheets/plugins/markdown.css +144 -147
- data/app/assets/stylesheets/plugins/markdown.min.css +2 -2
- data/app/assets/stylesheets/plugins/quick_insert.css +67 -67
- data/app/assets/stylesheets/plugins/quick_insert.min.css +2 -2
- data/app/assets/stylesheets/plugins/special_characters.css +28 -28
- data/app/assets/stylesheets/plugins/special_characters.min.css +2 -2
- data/app/assets/stylesheets/plugins/table.css +106 -106
- data/app/assets/stylesheets/plugins/table.min.css +2 -2
- data/app/assets/stylesheets/plugins/trim_video.css +242 -242
- data/app/assets/stylesheets/plugins/trim_video.min.css +2 -2
- data/app/assets/stylesheets/plugins/video.css +196 -196
- data/app/assets/stylesheets/plugins/video.min.css +2 -2
- data/app/assets/stylesheets/plugins.pkgd.css +3018 -3018
- data/app/assets/stylesheets/plugins.pkgd.min.css +2 -2
- data/app/assets/stylesheets/themes/dark.css +2186 -2186
- data/app/assets/stylesheets/themes/dark.min.css +2 -2
- data/app/assets/stylesheets/themes/gray.css +2186 -2186
- data/app/assets/stylesheets/themes/gray.min.css +2 -2
- data/app/assets/stylesheets/themes/royal.css +2186 -2186
- data/app/assets/stylesheets/themes/royal.min.css +2 -2
- data/app/assets/stylesheets/third_party/embedly.css +55 -55
- data/app/assets/stylesheets/third_party/embedly.min.css +2 -2
- data/app/assets/stylesheets/third_party/font_awesome.css +28 -28
- data/app/assets/stylesheets/third_party/font_awesome.min.css +2 -2
- data/app/assets/stylesheets/third_party/image_tui.css +36 -36
- data/app/assets/stylesheets/third_party/image_tui.min.css +2 -2
- data/app/assets/stylesheets/third_party/spell_checker.css +59 -59
- data/app/assets/stylesheets/third_party/spell_checker.min.css +2 -2
- data/lib/wysiwyg-rails/engine.rb +16 -16
- data/lib/wysiwyg-rails/version.rb +5 -5
- data/lib/wysiwyg-rails.rb +1 -1
- metadata +3 -3
@@ -1,7 +1,7 @@
|
|
1
1
|
/*!
|
2
|
-
* froala_editor v4.0.
|
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.
|
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.
|
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}
|
data/lib/wysiwyg-rails/engine.rb
CHANGED
@@ -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.
|
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.
|
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-
|
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.
|
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
|