mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
refactor(editor): merge inline to std (#11025)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import type { RichTextCell } from '@blocksuite/affine/blocks/database';
|
||||
import { ZERO_WIDTH_SPACE } from '@blocksuite/affine/inline';
|
||||
import { expect, type Locator, type Page } from '@playwright/test';
|
||||
|
||||
import {
|
||||
@@ -13,6 +12,7 @@ import {
|
||||
getEditorLocator,
|
||||
waitNextFrame,
|
||||
} from '../utils/actions/misc.js';
|
||||
import { ZERO_WIDTH_SPACE } from '../utils/inline-editor.js';
|
||||
|
||||
export async function press(page: Page, content: string) {
|
||||
await page.keyboard.press(content, { delay: 50 });
|
||||
|
||||
Reference in New Issue
Block a user