OnPasteFn
OnPasteFn = (
data) =>OnPasteResultOrPromise
Defined in: packages/editor/src/types/editor.ts:381
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.