diff --git a/.gitignore b/.gitignore index cef73053..97cc6393 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,9 @@ !.vscode/launch.json !.vscode/extensions.json +# IDE - VS +.vs/* + # misc /.sass-cache /connect.lock diff --git a/README.md b/README.md index e655c6b1..7c9034c4 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Then in HTML ``` -For `ngModel` to work, You must import `FromsModule` from `@angular/forms` +For `ngModel` to work, You must import `FormsModule` from `@angular/forms` ### Documentation diff --git a/src/app/ngx-editor/ngx-editor-toolbar/ngx-editor-toolbar.component.html b/src/app/ngx-editor/ngx-editor-toolbar/ngx-editor-toolbar.component.html index 20c03d4a..c5eca3e4 100644 --- a/src/app/ngx-editor/ngx-editor-toolbar/ngx-editor-toolbar.component.html +++ b/src/app/ngx-editor/ngx-editor-toolbar/ngx-editor-toolbar.component.html @@ -1,4 +1,4 @@ -
+
+ +
diff --git a/src/app/ngx-editor/ngx-editor-toolbar/ngx-editor-toolbar.component.ts b/src/app/ngx-editor/ngx-editor-toolbar/ngx-editor-toolbar.component.ts index 0716438c..74448544 100644 --- a/src/app/ngx-editor/ngx-editor-toolbar/ngx-editor-toolbar.component.ts +++ b/src/app/ngx-editor/ngx-editor-toolbar/ngx-editor-toolbar.component.ts @@ -11,6 +11,7 @@ export class NgxEditorToolbarComponent { @Input() config: any; @Input() enableToolbar = false; + @Input() showToolbar = true; @Output() execute: EventEmitter = new EventEmitter(); constructor() { } diff --git a/src/app/ngx-editor/ngx-editor.component.html b/src/app/ngx-editor/ngx-editor.component.html index 19014bf9..aa7b72be 100644 --- a/src/app/ngx-editor/ngx-editor.component.html +++ b/src/app/ngx-editor/ngx-editor.component.html @@ -1,6 +1,6 @@
- +