Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Aug 19, 2024
1 parent 7a377c7 commit d2044a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions projects/editor/src/components/toolbar/toolbar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ export class TuiToolbar {
@Output()
public readonly fileAttached = new EventEmitter<TuiEditorAttachedFile[]>();

public readonly el: HTMLElement | null =
inject(ElementRef, {optional: true})?.nativeElement ?? null;

@Input()
public set tools(value: Set<TuiEditorToolType> | readonly TuiEditorToolType[]) {
this.toolsSet = new Set(value);
}

public readonly el: HTMLElement | null =
inject(ElementRef, {optional: true})?.nativeElement ?? null;

protected get editor(): AbstractTuiEditor | null {
return this.injectionEditor ?? this.inputEditor;
}
Expand Down

0 comments on commit d2044a9

Please sign in to comment.