PasteFragment
Type Stability: stable
Definition
TypeScript
import type { PasteFragment } from '@aionbuilders/nabu/extend';TypeScript
interface PasteFragment {
assets?: Record<string, EmbeddedAsset>;
blocks: PasteBlock[];
external?: boolean;
}Properties
| Property | Type | Description |
|---|---|---|
assetsoptional | Record<string, EmbeddedAsset> | bytes (base64) of the
|
blocks | PasteBlock[] | n/a |
externaloptional | boolean | the content comes from outside the editor (the HTML of a web page, Docs…) rather than from
Nabu itself: |
Source: src/lib/utils/extensions.js:15