@wordpress/blocks
Version:
Block API for WordPress.
10 lines • 421 B
TypeScript
/**
* This filter takes figure content out of paragraphs, wraps it in a figure
* element, and moves any anchors with it if needed.
*
* @param node The node to filter.
* @param doc The document of the node.
* @param schema The schema to use.
*/
export default function figureContentReducer(node: Node, doc: Document, schema?: Record<string, unknown>): void;
//# sourceMappingURL=figure-content-reducer.d.ts.map