README.md in wysihtml5-rails-0.0.2 vs README.md in wysihtml5-rails-0.0.3
- old
+ new
@@ -22,10 +22,17 @@
```js
//= require wysihtml5
```
+Additionally include `advanced` or `simple`
+[parser rule](https://github.com/NARKOZ/wysihtml5-rails/tree/master/vendor/assets/javascripts/parser_rules):
+
+```js
+//= require parser_rules/simple
+```
+
Add to your template before closing `body` html tag:
```html
<script>
var editor = new wysihtml5.Editor("wysihtml5-textarea", { // id of textarea element
@@ -39,11 +46,11 @@
## Usage example
Add to `application.js`
```js
-//= require wysihtml5/parser_rules/simple
-//= require wysihtml5/wysihtml5
+//= require wysihtml5
+//= require parser_rules/advanced
```
Create form with wysihtml5 textarea:
```erb