Skip to content

Commit da4613e

Browse files
committed
some default values should be array instead of object, related to issue #22
1 parent eb32e7d commit da4613e

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,3 +222,5 @@ pip-log.txt
222222

223223
#Mr Developer
224224
.mr.developer.cfg
225+
226+
package-lock.json

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-markdown-editor-ghiscoding",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"author": "Ghislain B.",
55
"description": "Angular Markdown Editor, all-in-one Markdown Editor and Preview",
66
"main": [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-markdown-editor",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"author": "Ghislain B.",
55
"description": "Angular Markdown Editor, all-in-one Markdown Editor and Preview",
66
"main": "app.js",

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Angular Markdown Editor (Directive)
2-
`1.1.2`
2+
`1.1.3`
33

44
## What do we have?
55
In this package we will use a few libraries and tools to make a more convenient "all in one" WYSIWYG Markdown Editor with preview. All of that with a simple AngularJS Directive call. I plan to use this mainly for online documentation but it could be useful for many other reasons (docs, blog, etc...).

src/angular-markdown-editor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ angular
2424
language: options.language || 'en',
2525
footer: options.footer || '',
2626
fullscreen: options.fullscreen || { enable: true, icons: {}},
27-
hiddenButtons: options.hiddenButtons || {},
28-
disabledButtons: options.disabledButtons || {},
27+
hiddenButtons: options.hiddenButtons || [],
28+
disabledButtons: options.disabledButtons || [],
2929
initialstate: options.initialstate || 'editor',
3030
parser: options.parser || null,
3131
dropZoneOptions: options.dropZoneOptions || {},

0 commit comments

Comments
 (0)