From 9fe05d024c58fd0d2e963dcec94fbc7c256b756b Mon Sep 17 00:00:00 2001 From: Tomas Rimkus Date: Tue, 1 Oct 2024 10:53:19 +0200 Subject: [PATCH] fix: fix link editor's input auto-focus --- projects/editor/components/editor/editor.component.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/projects/editor/components/editor/editor.component.ts b/projects/editor/components/editor/editor.component.ts index c4aff9369..45453b0c9 100644 --- a/projects/editor/components/editor/editor.component.ts +++ b/projects/editor/components/editor/editor.component.ts @@ -20,7 +20,6 @@ import { TUI_FALSE_HANDLER, TUI_TRUE_HANDLER, TuiActiveZone, - tuiAutoFocusOptionsProvider, TuiControl, tuiInjectElement, tuiWatch, @@ -28,7 +27,6 @@ import { } from '@taiga-ui/cdk'; import type {TuiDropdownDirective} from '@taiga-ui/core'; import { - TUI_ANIMATIONS_DEFAULT_DURATION, TUI_APPEARANCE_OPTIONS, TuiAppearance, tuiAppearanceFocus, @@ -83,10 +81,6 @@ import {TuiEditorPortalHost} from './portal/editor-portal-host.component'; provide: TUI_APPEARANCE_OPTIONS, useValue: {appearance: 'textfield'}, }, - tuiAutoFocusOptionsProvider({ - delay: TUI_ANIMATIONS_DEFAULT_DURATION, - query: '[contenteditable].ProseMirror', - }), ], hostDirectives: [ {