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

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

No files matched your search

+1 -1
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'
);