diff options
Diffstat (limited to 'public/editor')
-rw-r--r-- | public/editor/editor.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/public/editor/editor.js b/public/editor/editor.js index d6fea07..a01f33a 100644 --- a/public/editor/editor.js +++ b/public/editor/editor.js @@ -1,5 +1,7 @@ var editor = new MediumEditor('.editable', { - buttons: ['bold', 'italic', 'anchor', 'header1', 'header2', 'quote', 'unorderedlist', 'pre'], + toolbar: { + buttons: ['bold', 'italic', 'anchor', 'h1', 'h2', 'quote', 'pre', 'unorderedlist'] + }, placeholder: {text: 'Write something nice...'}, paste: { // This example includes the default options for paste, if nothing is passed this is what it used |