mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-22 03:33:06 +08:00
feat(core): save recent open mode of internal links (#11086)
Closes: [BS-2865](https://linear.app/affine-design/issue/BS-2865/internal-links-保存用户最近的打开方式) Added `openDocMode` in settings. https://github.com/user-attachments/assets/a452da73-83e4-4ef5-9b57-58291fc22785
This commit is contained in:
@@ -797,7 +797,7 @@ export async function updateExistedBrushElementSize(
|
||||
export async function openComponentToolbarMoreMenu(page: Page) {
|
||||
const btn = page
|
||||
.locator('affine-toolbar-widget editor-toolbar')
|
||||
.getByLabel('more-menu');
|
||||
.getByLabel('More menu');
|
||||
|
||||
await btn.click();
|
||||
}
|
||||
@@ -1023,7 +1023,7 @@ export function locatorComponentToolbar(page: Page) {
|
||||
}
|
||||
|
||||
export function locatorComponentToolbarMoreButton(page: Page) {
|
||||
const moreButton = locatorComponentToolbar(page).getByLabel('more-menu');
|
||||
const moreButton = locatorComponentToolbar(page).getByLabel('More menu');
|
||||
return moreButton;
|
||||
}
|
||||
type Action =
|
||||
|
||||
Reference in New Issue
Block a user