Skip to content

Commit 012fac9

Browse files
committed
Update README.md
Added options paragraph
1 parent e5d582e commit 012fac9

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,31 @@ $(document).on('page:load', function(){
110110
})
111111
```
112112

113+
## Passing options
114+
115+
To activate direct html editing and disable blockquote:
116+
```
117+
$('.wysihtml5').wysihtml5({'toolbar': {'blockquote:' false, 'html': true}})
118+
```
119+
120+
Toolbal default options are:
121+
122+
```
123+
toolbar: {
124+
'font-styles': true,
125+
'color': false,
126+
'emphasis': {
127+
'small': true
128+
},
129+
'blockquote': true,
130+
'lists': true,
131+
'html': false,
132+
'link': true,
133+
'image': true,
134+
'smallmodals': false
135+
}
136+
```
137+
113138
## License
114139
Copyright (c) 2012-2014 Gonzalo Rodríguez-Baltanás Díaz
115140

0 commit comments

Comments
 (0)