wysiwyg-rails 2.6.0 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +23 -3
- data/app/assets/javascripts/froala_editor.min.js +3 -8
- data/app/assets/javascripts/froala_editor.pkgd.min.js +3 -17
- data/app/assets/javascripts/languages/ar.js +92 -4
- data/app/assets/javascripts/languages/bs.js +92 -4
- data/app/assets/javascripts/languages/cs.js +92 -4
- data/app/assets/javascripts/languages/da.js +196 -111
- data/app/assets/javascripts/languages/de.js +167 -79
- data/app/assets/javascripts/languages/el.js +327 -0
- data/app/assets/javascripts/languages/en_ca.js +94 -6
- data/app/assets/javascripts/languages/en_gb.js +92 -4
- data/app/assets/javascripts/languages/es.js +93 -5
- data/app/assets/javascripts/languages/et.js +92 -4
- data/app/assets/javascripts/languages/fa.js +96 -8
- data/app/assets/javascripts/languages/fi.js +92 -4
- data/app/assets/javascripts/languages/fr.js +129 -41
- data/app/assets/javascripts/languages/he.js +92 -4
- data/app/assets/javascripts/languages/hr.js +92 -4
- data/app/assets/javascripts/languages/hu.js +105 -17
- data/app/assets/javascripts/languages/id.js +92 -4
- data/app/assets/javascripts/languages/it.js +198 -110
- data/app/assets/javascripts/languages/ja.js +191 -103
- data/app/assets/javascripts/languages/ko.js +116 -28
- data/app/assets/javascripts/languages/ku.js +314 -0
- data/app/assets/javascripts/languages/me.js +92 -4
- data/app/assets/javascripts/languages/nb.js +92 -4
- data/app/assets/javascripts/languages/nl.js +101 -13
- data/app/assets/javascripts/languages/pl.js +92 -4
- data/app/assets/javascripts/languages/pt_br.js +165 -77
- data/app/assets/javascripts/languages/pt_pt.js +94 -6
- data/app/assets/javascripts/languages/ro.js +92 -5
- data/app/assets/javascripts/languages/ru.js +95 -7
- data/app/assets/javascripts/languages/sk.js +92 -5
- data/app/assets/javascripts/languages/sr.js +92 -4
- data/app/assets/javascripts/languages/sv.js +121 -33
- data/app/assets/javascripts/languages/th.js +93 -5
- data/app/assets/javascripts/languages/tr.js +92 -4
- data/app/assets/javascripts/languages/{ua.js → uk.js} +93 -5
- data/app/assets/javascripts/languages/vi.js +92 -4
- data/app/assets/javascripts/languages/zh_cn.js +259 -171
- data/app/assets/javascripts/languages/zh_tw.js +92 -4
- data/app/assets/javascripts/plugins/align.min.js +3 -3
- data/app/assets/javascripts/plugins/char_counter.min.js +3 -3
- data/app/assets/javascripts/plugins/code_beautifier.min.js +3 -4
- data/app/assets/javascripts/plugins/code_view.min.js +3 -3
- data/app/assets/javascripts/plugins/colors.min.js +3 -3
- data/app/assets/javascripts/plugins/draggable.min.js +3 -3
- data/app/assets/javascripts/plugins/emoticons.min.js +3 -3
- data/app/assets/javascripts/plugins/entities.min.js +3 -3
- data/app/assets/javascripts/plugins/file.min.js +3 -3
- data/app/assets/javascripts/plugins/font_family.min.js +3 -3
- data/app/assets/javascripts/plugins/font_size.min.js +3 -3
- data/app/assets/javascripts/plugins/forms.min.js +3 -3
- data/app/assets/javascripts/plugins/fullscreen.min.js +3 -3
- data/app/assets/javascripts/plugins/help.min.js +3 -3
- data/app/assets/javascripts/plugins/image.min.js +3 -4
- data/app/assets/javascripts/plugins/image_manager.min.js +3 -3
- data/app/assets/javascripts/plugins/inline_class.min.js +7 -0
- data/app/assets/javascripts/plugins/inline_style.min.js +3 -3
- data/app/assets/javascripts/plugins/line_breaker.min.js +3 -3
- data/app/assets/javascripts/plugins/line_height.min.js +7 -0
- data/app/assets/javascripts/plugins/link.min.js +3 -3
- data/app/assets/javascripts/plugins/lists.min.js +3 -3
- data/app/assets/javascripts/plugins/paragraph_format.min.js +3 -3
- data/app/assets/javascripts/plugins/paragraph_style.min.js +3 -3
- data/app/assets/javascripts/plugins/print.min.js +3 -3
- data/app/assets/javascripts/plugins/quick_insert.min.js +3 -3
- data/app/assets/javascripts/plugins/quote.min.js +3 -3
- data/app/assets/javascripts/plugins/save.min.js +3 -3
- data/app/assets/javascripts/plugins/special_characters.min.js +3 -3
- data/app/assets/javascripts/plugins/table.min.js +3 -4
- data/app/assets/javascripts/plugins/url.min.js +3 -3
- data/app/assets/javascripts/plugins/video.min.js +3 -4
- data/app/assets/javascripts/plugins/word_paste.min.js +3 -3
- data/app/assets/javascripts/third_party/embedly.min.js +7 -0
- data/app/assets/javascripts/third_party/font_awesome.min.js +7 -0
- data/app/assets/javascripts/third_party/image_aviary.min.js +7 -0
- data/app/assets/javascripts/third_party/image_tui.min.js +7 -0
- data/app/assets/javascripts/third_party/spell_checker.min.js +7 -0
- data/app/assets/stylesheets/froala_editor.css +159 -31
- data/app/assets/stylesheets/froala_editor.min.css +3 -3
- data/app/assets/stylesheets/froala_editor.pkgd.css +274 -82
- data/app/assets/stylesheets/froala_editor.pkgd.min.css +3 -3
- data/app/assets/stylesheets/froala_style.css +174 -26
- data/app/assets/stylesheets/froala_style.min.css +3 -3
- data/app/assets/stylesheets/plugins/char_counter.css +2 -2
- data/app/assets/stylesheets/plugins/char_counter.min.css +2 -2
- data/app/assets/stylesheets/plugins/code_view.css +2 -2
- data/app/assets/stylesheets/plugins/code_view.min.css +2 -2
- data/app/assets/stylesheets/plugins/colors.css +34 -3
- data/app/assets/stylesheets/plugins/colors.min.css +3 -3
- data/app/assets/stylesheets/plugins/draggable.css +3 -3
- data/app/assets/stylesheets/plugins/draggable.min.css +3 -3
- data/app/assets/stylesheets/plugins/emoticons.css +2 -2
- data/app/assets/stylesheets/plugins/emoticons.min.css +2 -2
- data/app/assets/stylesheets/plugins/file.css +16 -16
- data/app/assets/stylesheets/plugins/file.min.css +3 -3
- data/app/assets/stylesheets/plugins/fullscreen.css +3 -3
- data/app/assets/stylesheets/plugins/fullscreen.min.css +3 -3
- data/app/assets/stylesheets/plugins/help.css +2 -2
- data/app/assets/stylesheets/plugins/help.min.css +2 -2
- data/app/assets/stylesheets/plugins/image.css +17 -16
- data/app/assets/stylesheets/plugins/image.min.css +3 -3
- data/app/assets/stylesheets/plugins/image_manager.css +4 -2
- data/app/assets/stylesheets/plugins/image_manager.min.css +3 -3
- data/app/assets/stylesheets/plugins/line_breaker.css +2 -2
- data/app/assets/stylesheets/plugins/line_breaker.min.css +2 -2
- data/app/assets/stylesheets/plugins/quick_insert.css +4 -4
- data/app/assets/stylesheets/plugins/quick_insert.min.css +3 -3
- data/app/assets/stylesheets/plugins/special_characters.css +2 -2
- data/app/assets/stylesheets/plugins/special_characters.min.css +2 -2
- data/app/assets/stylesheets/plugins/table.css +34 -4
- data/app/assets/stylesheets/plugins/table.min.css +3 -3
- data/app/assets/stylesheets/plugins/video.css +18 -18
- data/app/assets/stylesheets/plugins/video.min.css +3 -3
- data/app/assets/stylesheets/themes/dark.css +199 -45
- data/app/assets/stylesheets/themes/dark.min.css +3 -3
- data/app/assets/stylesheets/themes/gray.css +197 -43
- data/app/assets/stylesheets/themes/gray.min.css +3 -3
- data/app/assets/stylesheets/themes/red.css +198 -44
- data/app/assets/stylesheets/themes/red.min.css +3 -3
- data/app/assets/stylesheets/themes/royal.css +210 -56
- data/app/assets/stylesheets/themes/royal.min.css +3 -3
- data/app/assets/stylesheets/third_party/embedly.css +64 -0
- data/app/assets/stylesheets/third_party/embedly.min.css +7 -0
- data/app/assets/stylesheets/third_party/font_awesome.css +50 -0
- data/app/assets/stylesheets/third_party/font_awesome.min.css +7 -0
- data/app/assets/stylesheets/third_party/image_tui.css +42 -0
- data/app/assets/stylesheets/third_party/image_tui.min.css +7 -0
- data/app/assets/stylesheets/third_party/spell_checker.css +72 -0
- data/app/assets/stylesheets/{plugins → third_party}/spell_checker.min.css +2 -2
- data/lib/wysiwyg-rails/engine.rb +0 -2
- data/lib/wysiwyg-rails/version.rb +1 -1
- metadata +20 -26
- data/app/assets/javascripts/plugins/image_aviary.min.js +0 -7
- data/app/assets/javascripts/plugins/spell_checker.min.js +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35363013b4a639b10aa0e7051ff3d322e4d92add
|
4
|
+
data.tar.gz: 7988354fcf558631b38b7c0d5f49485b4c0fdab0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e41b61c06bea68e25c86effb47bf7c7b4b0bbdc0a6e4e3b9808097b5b8dc8198ae244728f8ef7ee9ab2eb0ab6027c944adf888fc4af069e111ca8453567239d8
|
7
|
+
data.tar.gz: aca9870b4585e0508e77dc722b92228915c07cc9864b9f217702475bb7e8954557f71d6cf994650e81c7da597672d3a4af8ace8a9232b30bf49e4adf535a0802
|
data/README.md
CHANGED
@@ -1,4 +1,9 @@
|
|
1
|
-
# Rails Froala WYSIWYG HTML Editor
|
1
|
+
# Rails Froala WYSIWYG HTML Editor
|
2
|
+
|
3
|
+
[![Travis](https://img.shields.io/travis/froala/wysiwyg-rails.svg)](http://travis-ci.org/froala/wysiwyg-rails)
|
4
|
+
[![Gem](https://img.shields.io/gem/v/wysiwyg-rails.svg)](https://rubygems.org/gems/wysiwyg-rails/versions/2.1.0)
|
5
|
+
[![Gem](https://img.shields.io/gem/dt/wysiwyg-rails.svg)](https://rubygems.org/gems/wysiwyg-rails/versions/2.1.0)
|
6
|
+
[![license](https://img.shields.io/github/license/froala/wysiwyg-rails.svg)](https://rubygems.org/gems/wysiwyg-rails/versions/2.1.0)
|
2
7
|
|
3
8
|
>wysiwyg-rails provides the [Froala WYSIWYG HTML Editor](https://froala.com/wysiwyg-editor) javascript and stylesheets as a Rails engine for use with the asset pipeline.
|
4
9
|
|
@@ -8,18 +13,21 @@ Add this to your Gemfile:
|
|
8
13
|
|
9
14
|
```ruby
|
10
15
|
gem "wysiwyg-rails"
|
16
|
+
gem "font-awesome-sass"
|
11
17
|
```
|
12
18
|
|
13
19
|
and run `bundle install`.
|
14
20
|
|
21
|
+
Note, you can include your own alternative Font Awesome implementation rather than the `font-awesome-sass` gem if you like. In that case, you'll need to modify/remove the import statements below to work with your implementation.
|
22
|
+
|
15
23
|
## Include in assets
|
16
24
|
|
17
25
|
In your `application.css.scss`, include the css file:
|
18
26
|
|
19
27
|
```css
|
20
28
|
/*
|
21
|
-
@import "froala_editor.min
|
22
|
-
@import "froala_style.min
|
29
|
+
@import "froala_editor.min";
|
30
|
+
@import "froala_style.min";
|
23
31
|
@import "font-awesome-sprockets";
|
24
32
|
@import "font-awesome";
|
25
33
|
*/
|
@@ -53,8 +61,10 @@ If you need to use any of the [Available Plugins](https://froala.com/wysiwyg-edi
|
|
53
61
|
#= require plugins/help.min.js
|
54
62
|
#= require plugins/image.min.js
|
55
63
|
#= require plugins/image_manager.min.js
|
64
|
+
#= require plugins/inline_class.min.js
|
56
65
|
#= require plugins/inline_style.min.js
|
57
66
|
#= require plugins/line_breaker.min.js
|
67
|
+
#= require plugins/line_height.min.js
|
58
68
|
#= require plugins/link.min.js
|
59
69
|
#= require plugins/lists.min.js
|
60
70
|
#= require plugins/paragraph_format.min.js
|
@@ -67,6 +77,12 @@ If you need to use any of the [Available Plugins](https://froala.com/wysiwyg-edi
|
|
67
77
|
#= require plugins/special_characters.min.js
|
68
78
|
#= require plugins/url.min.js
|
69
79
|
#= require plugins/video.min.js
|
80
|
+
|
81
|
+
#= require third_party/embedly.min.js
|
82
|
+
#= require third_party/font_awesome.min.js
|
83
|
+
#= require third_party/image_aviary.min.js
|
84
|
+
#= require third_party/image_tui.min.js
|
85
|
+
#= require third_party/spell_checker.min.js
|
70
86
|
```
|
71
87
|
|
72
88
|
```css
|
@@ -84,6 +100,10 @@ If you need to use any of the [Available Plugins](https://froala.com/wysiwyg-edi
|
|
84
100
|
@import 'plugins/special_characters.min.css';
|
85
101
|
@import 'plugins/table.min.css';
|
86
102
|
@import 'plugins/video.min.css';
|
103
|
+
|
104
|
+
@import 'third_party/embedly.min.css';
|
105
|
+
@import 'third_party/image_tui.min.css';
|
106
|
+
@import 'third_party/spell_checker.min.css';
|
87
107
|
```
|
88
108
|
|
89
109
|
Similar, if you want to use language translation you have to include the translation file.
|