Skip to content

Variable: officePaste ​

ts
const officePaste: () => Extension;

Paste from Microsoft Word with working lists: bulleted and numbered lists, including nested ones, arrive as real lists instead of paragraphs with a typed-out bullet. Opt-in; other pastes are untouched.

Returns ​

Extension

Example ​

ts
import { officePaste } from '@writeon/html'
createEditor({ extensions: [...basic(), officePaste()], label: 'Text' })