Skip to content

Commit edb1e50

Browse files
author
Oliver Pulges
committed
Update to v0.6.0.beta
1 parent 1cd9495 commit edb1e50

34 files changed

+8606
-27904
lines changed

README.md

+9-6
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,19 @@ Require it in your JS manifest's file `application.js`:
3838
//= require wysihtml
3939
```
4040

41-
or if you need wysihtml with built-in toolbar:
41+
or if you also need toolbar, table editing features or all commands:
4242

4343
```js
44-
//= require wysihtml-toolbar
44+
//= require wysihtml
45+
//= require wysihtml/toolbar
46+
//= require wysihtml/all_commands
47+
//= require wysihtml/table_editing
4548
```
4649

4750
Additionally include predefined `simple`, `advanced` or `advanced_unwrap` parsing rules in your `application.js`:
4851

4952
```js
50-
//= require parser_rules/advanced_unwrap
53+
//= require wysihtml/parser_rules/advanced_unwrap
5154
```
5255

5356
Additionally include predefined `wysihtml` stiles in your `application.css.scss` file:
@@ -60,10 +63,10 @@ The simple initialise:
6063

6164
```html
6265
<script>
63-
var editor = new wysihtml5.Editor("wysihtml5-textarea", { // id of textarea element
64-
toolbar: "wysihtml5-toolbar", // id of toolbar element
66+
var editor = new wysihtml.Editor("wysihtml-textarea", { // id of textarea element
67+
toolbar: "wysihtml-toolbar", // id of toolbar element
6568
stylesheets: "<%= stylesheet_path('wysihtml') %>", // optional, css to style the editor's content
66-
parserRules: wysihtml5ParserRules, // defined in parser rules set
69+
parserRules: wysihtmlParserRules, // defined in parser rules set
6770
//showToolbarAfterInit: false
6871
});
6972
</script>

lib/wysihtml/rails/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Wysihtml
22
module Rails
3-
VERSION = "0.5.5"
3+
VERSION = "0.6.0.beta"
44
end
55
end

0 commit comments

Comments
 (0)