feat: support esc shortcut on input-edit (#6143)

This commit is contained in:
Fangdun Tsai
2024-03-16 21:13:37 +08:00
committed by GitHub
parent eec24db1a1
commit 636fa503b8
2 changed files with 24 additions and 4 deletions

View File

@@ -43,6 +43,7 @@ export const BlocksuiteHeaderTitle = (props: BlockSuiteHeaderTitleProps) => {
value={title}
onChange={onChange}
editable={!isPublic}
exitible={true}
placeholder="Untitled"
data-testid="title-edit-button"
handleRef={inputHandleRef}