Skip to content

Commit 75ea564

Browse files
committed
Renamed gem from "wysihtml5x-rails" to "wysihtml-rails" and released version 0.5.0.beta2.
* Added latest version of wysihtml (previously wysihtml5x) * Bumped version to 0.5.0.beta2 * Moved gem repository from https://github.com/Edicy/wysihtml-rails to https://github.com/Voog/wysihtml-rails due rebranding of the wysihtml and Edicy (now Voog - www.voog.com).
1 parent d255a90 commit 75ea564

File tree

12 files changed

+743
-59
lines changed

12 files changed

+743
-59
lines changed

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
source 'https://rubygems.org'
22

3-
# Specify your gem's dependencies in wysihtml5x-rails.gemspec
3+
# Specify your gem's dependencies in wysihtml-rails.gemspec
44
gemspec

README.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# wysihtml5x for Rails
1+
# wysihtml for Rails
22

3-
[Edicy/wysihtml5x](http://edicy.github.io/wysihtml5/) is an extended and less strict approach on [xing/wysihtml5](http://xing.github.io/wysihtml5/) open source rich text editor based on HTML5 technology.
3+
[Voog/wysihtml](https://github.com/Voog/wysihtml) is an extended and less strict approach on [xing/wysihtml5](http://xing.github.io/wysihtml5/) open source rich text editor based on HTML5 technology.
44

5-
This gem adds wysihtml5x to Rails assets pipeline.
5+
This gem adds wysihtml to Rails assets pipeline.
66

77
## Installation
88

99
Add this line to your application's Gemfile:
1010

1111
```ruby
12-
gem 'wysihtml5x-rails'
12+
gem 'wysihtml-rails'
1313
```
1414

1515
Or you can install from latest build:
1616

1717
```ruby
18-
gem 'wysihtml5x-rails', :git => 'https://github.com/Edicy/wysihtml5x-rails.git'
18+
gem 'wysihtml-rails', :git => 'https://github.com/Voog/wysihtml-rails.git'
1919
```
2020

2121
And then execute:
@@ -27,21 +27,21 @@ bundle
2727
Or install it yourself as:
2828

2929
```sh
30-
$ gem install wysihtml5x-rails
30+
$ gem install wysihtml-rails
3131
```
3232

3333
## Usage
3434

3535
Require it in your JS manifest's file `application.js`:
3636

3737
```js
38-
//= require wysihtml5x
38+
//= require wysihtml
3939
```
4040

4141
or if you need wysihtml with built-in toolbar:
4242

4343
```js
44-
//= require wysihtml5x-toolbar
44+
//= require wysihtml-toolbar
4545
```
4646

4747
Additionally include predefined `simple`, `advanced` or `advanced_unwrap` parsing rules in your `application.js`:
@@ -50,10 +50,10 @@ Additionally include predefined `simple`, `advanced` or `advanced_unwrap` parsin
5050
//= require parser_rules/advanced_unwrap
5151
```
5252

53-
Additionally include predefined `wysihtml5x` stiles in your `application.css.scss` file:
53+
Additionally include predefined `wysihtml` stiles in your `application.css.scss` file:
5454

5555
```scss
56-
*= require wysihtml5x
56+
*= require wysihtml
5757
```
5858

5959
The simple initialise:
@@ -62,7 +62,7 @@ The simple initialise:
6262
<script>
6363
var editor = new wysihtml5.Editor("wysihtml5-textarea", { // id of textarea element
6464
toolbar: "wysihtml5-toolbar", // id of toolbar element
65-
stylesheets: "<%= stylesheet_path('wysihtml5x') %>", // optional, css to style the editor's content
65+
stylesheets: "<%= stylesheet_path('wysihtml') %>", // optional, css to style the editor's content
6666
parserRules: wysihtml5ParserRules, // defined in parser rules set
6767
//showToolbarAfterInit: false
6868
});

lib/wysihtml/rails.rb

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
require "wysihtml/rails/version"
2+
3+
module Wysihtml
4+
module Rails
5+
class Engine < ::Rails::Engine
6+
isolate_namespace Wysihtml::Rails
7+
end
8+
end
9+
end

lib/wysihtml/rails/version.rb

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module Wysihtml
2+
module Rails
3+
VERSION = "0.5.0.beta2"
4+
end
5+
end

lib/wysihtml5x/rails.rb

-9
This file was deleted.

lib/wysihtml5x/rails/version.rb

-5
This file was deleted.

0 commit comments

Comments
 (0)