API / @aionbuilders/nabu

BlockExtension

Constant Stability: stable

The block:transform action: turn a block into another type (exec('block:transform', { type, props })). The block extensions' own actions (heading:1, callout...) and the slash menu go through it.

Declaration

TypeScript
import { BlockExtension } from '@aionbuilders/nabu';
TypeScript
const BlockExtension: Extension

Source: src/lib/blocks/block.extension.js:27