fix(editor): should show toolbar after mouse is released (#10698)

This commit is contained in:
fundon
2025-03-08 04:16:02 +00:00
parent 8aedef0a36
commit befb795935
5 changed files with 64 additions and 38 deletions

View File

@@ -64,7 +64,7 @@ export async function focusDocTitle(page: Page, editorIndex = 0) {
}
// ================== Page ==================
export function locateFormatBar(page: Page, editorIndex = 0) {
export function locateToolbar(page: Page, editorIndex = 0) {
return locateEditorContainer(page, editorIndex).locator(
'affine-toolbar-widget editor-toolbar'
);