├── .gitignore
├── .travis.yml
├── Gemfile
├── LICENSE
├── README.md
├── Rakefile
├── app
└── assets
│ ├── javascripts
│ ├── froala_editor.min.js
│ ├── froala_editor.pkgd.min.js
│ ├── languages
│ │ ├── ar.js
│ │ ├── bs.js
│ │ ├── cs.js
│ │ ├── da.js
│ │ ├── de.js
│ │ ├── el.js
│ │ ├── en_ca.js
│ │ ├── en_gb.js
│ │ ├── es.js
│ │ ├── et.js
│ │ ├── fa.js
│ │ ├── fi.js
│ │ ├── fr.js
│ │ ├── he.js
│ │ ├── hr.js
│ │ ├── hu.js
│ │ ├── id.js
│ │ ├── it.js
│ │ ├── ja.js
│ │ ├── ko.js
│ │ ├── ku.js
│ │ ├── me.js
│ │ ├── nb.js
│ │ ├── nl.js
│ │ ├── pl.js
│ │ ├── pt_br.js
│ │ ├── pt_pt.js
│ │ ├── ro.js
│ │ ├── ru.js
│ │ ├── sk.js
│ │ ├── sl.js
│ │ ├── sr.js
│ │ ├── sv.js
│ │ ├── th.js
│ │ ├── tr.js
│ │ ├── uk.js
│ │ ├── vi.js
│ │ ├── zh_cn.js
│ │ └── zh_tw.js
│ ├── plugins.pkgd.min.js
│ ├── plugins
│ │ ├── align.min.js
│ │ ├── char_counter.min.js
│ │ ├── code_beautifier.min.js
│ │ ├── code_view.min.js
│ │ ├── colors.min.js
│ │ ├── cryptojs.min.js
│ │ ├── draggable.min.js
│ │ ├── edit_in_popup.min.js
│ │ ├── emoticons.min.js
│ │ ├── entities.min.js
│ │ ├── file.min.js
│ │ ├── files_manager.min.js
│ │ ├── filestack.min.js
│ │ ├── find_and_replace.min.js
│ │ ├── font_family.min.js
│ │ ├── font_size.min.js
│ │ ├── forms.min.js
│ │ ├── fullscreen.min.js
│ │ ├── help.min.js
│ │ ├── image.min.js
│ │ ├── image_manager.min.js
│ │ ├── inline_class.min.js
│ │ ├── inline_style.min.js
│ │ ├── line_breaker.min.js
│ │ ├── line_height.min.js
│ │ ├── link.min.js
│ │ ├── lists.min.js
│ │ ├── markdown.min.js
│ │ ├── paragraph_format.min.js
│ │ ├── paragraph_style.min.js
│ │ ├── print.min.js
│ │ ├── quick_insert.min.js
│ │ ├── quote.min.js
│ │ ├── save.min.js
│ │ ├── special_characters.min.js
│ │ ├── table.min.js
│ │ ├── track_changes.min.js
│ │ ├── trim_video.min.js
│ │ ├── url.min.js
│ │ ├── video.min.js
│ │ ├── word_counter.min.js
│ │ └── word_paste.min.js
│ └── third_party
│ │ ├── embedly.min.js
│ │ ├── font_awesome.min.js
│ │ ├── image_tui.min.js
│ │ ├── showdown.min.js
│ │ └── spell_checker.min.js
│ └── stylesheets
│ ├── froala_editor.css
│ ├── froala_editor.min.css
│ ├── froala_editor.pkgd.css
│ ├── froala_editor.pkgd.min.css
│ ├── froala_style.css
│ ├── froala_style.min.css
│ ├── plugins.pkgd.css
│ ├── plugins.pkgd.min.css
│ ├── plugins
│ ├── char_counter.css
│ ├── char_counter.min.css
│ ├── code_view.css
│ ├── code_view.min.css
│ ├── colors.css
│ ├── colors.min.css
│ ├── draggable.css
│ ├── draggable.min.css
│ ├── emoticons.css
│ ├── emoticons.min.css
│ ├── file.css
│ ├── file.min.css
│ ├── files_manager.css
│ ├── files_manager.min.css
│ ├── filestack.css
│ ├── filestack.min.css
│ ├── find_and_replace.css
│ ├── find_and_replace.min.css
│ ├── fullscreen.css
│ ├── fullscreen.min.css
│ ├── help.css
│ ├── help.min.css
│ ├── image.css
│ ├── image.min.css
│ ├── image_manager.css
│ ├── image_manager.min.css
│ ├── line_breaker.css
│ ├── line_breaker.min.css
│ ├── markdown.css
│ ├── markdown.min.css
│ ├── quick_insert.css
│ ├── quick_insert.min.css
│ ├── special_characters.css
│ ├── special_characters.min.css
│ ├── table.css
│ ├── table.min.css
│ ├── trim_video.css
│ ├── trim_video.min.css
│ ├── video.css
│ └── video.min.css
│ ├── themes
│ ├── dark.css
│ ├── dark.min.css
│ ├── gray.css
│ ├── gray.min.css
│ ├── royal.css
│ └── royal.min.css
│ └── third_party
│ ├── embedly.css
│ ├── embedly.min.css
│ ├── font_awesome.css
│ ├── font_awesome.min.css
│ ├── image_tui.css
│ ├── image_tui.min.css
│ ├── spell_checker.css
│ └── spell_checker.min.css
├── build-push-to-nexus.sh
├── gemfiles
├── rails4.gemfile
├── rails5.gemfile
├── rails6.gemfile
└── rails7.gemfile
├── lib
├── wysiwyg-rails.rb
└── wysiwyg-rails
│ ├── engine.rb
│ └── version.rb
├── version.json
└── wysiwyg-rails.gemspec
/.gitignore:
--------------------------------------------------------------------------------
1 | *.gem
2 | .bundle
3 | Gemfile.lock
4 | gemfiles/*.lock
5 | pkg/*
6 | bin
7 | vendor/ruby
8 | gemfiles/vendor/ruby
9 | .rbenv-version
10 | .sass-cache
11 | .idea
12 | *~
13 | .DS_Store
14 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | git:
2 | depth: false
3 | quiet: false
4 | language: generic
5 | dist: bionic
6 | sudo: required
7 | branches:
8 | only:
9 | - /dev*/
10 | - /AO-dev*/
11 | - /QA*/
12 | - /QE*/
13 | - /RC*/
14 | - /Release-Master*/
15 |
16 | env:
17 | - SHORT_COMMIT= `git rev-parse --short=7 ${TRAVIS_COMMIT}`
18 |
19 | before_install:
20 | - echo $TRAVIS_BRANCH
21 | - echo $PWD
22 | - echo $TRAVIS_COMMIT
23 | - echo $BUILD_REPO_NAME
24 | jobs:
25 | include:
26 | if: commit_message =~ /(deploy-yes)/
27 | script:
28 | - chmod u+x build-push-to-nexus.sh && bash build-push-to-nexus.sh
29 | notifications:
30 | email:
31 | recipients:
32 | - harasunu.narayan@froala.com
33 | on_success: always
34 | on_failure: always
35 |
--------------------------------------------------------------------------------
/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gemspec
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2015 Froala
2 |
3 | MIT License
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | "Software"), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Rails Froala WYSIWYG HTML Editor
2 |
3 | [](http://travis-ci.org/froala/wysiwyg-rails)
4 | [](https://rubygems.org/gems/wysiwyg-rails/versions/2.1.0)
5 | [](https://rubygems.org/gems/wysiwyg-rails/versions/2.1.0)
6 | [](https://rubygems.org/gems/wysiwyg-rails/versions/2.1.0)
7 |
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.
9 |
10 | ## Installation
11 |
12 | Add this to your Gemfile:
13 |
14 | ```ruby
15 | gem "wysiwyg-rails"
16 | ```
17 |
18 | and run `bundle install`.
19 | ## Usage
20 | In your index.html.erb add
21 | ```
22 |
23 | ```
24 | To use third-party plugins add
25 | ```
26 |
27 |
28 |
29 |