OnPasteFn
OnPasteFn: (
data
) =>OnPasteResultOrPromise
Defined in: packages/editor/src/types/editor.ts:360
It is encouraged not to return Promise<undefined>
from the OnPasteFn
as
a mechanism to fall back to the native paste behaviour. This doesn’t work in
all cases. Always return plain undefined
if possible.