refactor(editor): merge inline to std (#11025)

This commit is contained in:
Saul-Mirone
2025-03-20 05:46:56 +00:00
parent 5aa36efab0
commit 92d76ba571
176 changed files with 142 additions and 534 deletions

View File

@@ -20,3 +20,10 @@ export async function getStringFromRichText(
[index]
);
}
// Why? we can't import from `@blocksuite/affine/block-std/inline` because playwright will throw an error
export const ZERO_WIDTH_SPACE = /Apple Computer/.test(
globalThis.navigator?.vendor
)
? '\u200C'
: '\u200B';