mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 05:14:54 +00:00
refactor(editor): merge inline to std (#11025)
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user