(innerText: string)
| 11 | process.env.BROWSER === 'webkit' ? '\u200C' : '\u200B'; |
| 12 | |
| 13 | export function inlineEditorInnerTextToString(innerText: string): string { |
| 14 | return innerText.replace(ZERO_WIDTH_FOR_EMPTY_LINE, '').trim(); |
| 15 | } |
| 16 | |
| 17 | const PARAGRAPH_BLOCK_LOCATOR = 'affine-paragraph'; |
| 18 | const CODE_BLOCK_LOCATOR = 'affine-code'; |