UBERF-8568 Fix focus leak when pressing tab in todo list (#7082)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov
2024-11-03 23:54:03 +07:00
committed by GitHub
parent 8bd4590816
commit fcc6788aef
@@ -5,6 +5,8 @@ const canBlur = (editor: Editor, options: FocusOptions): boolean => {
options.canBlur?.(editor) ??
(!editor.isActive('bulletList') &&
!editor.isActive('orderedList') &&
!editor.isActive('taskList') &&
!editor.isActive('todoList') &&
!editor.isActive('table') &&
!editor.isActive('code') &&
!editor.isActive('codeBlock'))