Skip to content

Commit 96bf3b2

Browse files
committed
Issue kolkov#258: fix link button kolkov#262 - kolkov#262
1 parent d1f94a6 commit 96bf3b2

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

projects/angular-editor/src/lib/angular-editor-toolbar.component.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ import {SelectOption} from './ae-select/ae-select.component';
88
@Component({
99
selector: 'angular-editor-toolbar',
1010
templateUrl: './angular-editor-toolbar.component.html',
11-
styleUrls: ['./angular-editor-toolbar.component.scss'],
12-
providers: [AngularEditorService]
11+
styleUrls: ['./angular-editor-toolbar.component.scss']
1312
})
1413

1514
export class AngularEditorToolbarComponent {
@@ -18,8 +17,8 @@ export class AngularEditorToolbarComponent {
1817
block = 'default';
1918
fontName = 'Times New Roman';
2019
fontSize = '3';
21-
foreColour;
22-
backColor;
20+
foreColour: any;
21+
backColor: any;
2322

2423
headings: SelectOption[] = [
2524
{

projects/angular-editor/src/lib/angular-editor.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ import {isDefined} from './utils';
3434
provide: NG_VALUE_ACCESSOR,
3535
useExisting: forwardRef(() => AngularEditorComponent),
3636
multi: true
37-
},
38-
AngularEditorService
37+
}
3938
]
4039
})
4140
export class AngularEditorComponent implements OnInit, ControlValueAccessor, AfterViewInit, OnDestroy {

0 commit comments

Comments
 (0)