@wordpress/blocks
Version:
Block API for WordPress.
15 lines • 445 B
TypeScript
import type { Block } from '../../types';
export { pasteHandler } from './paste-handler';
export declare function deprecatedGetPhrasingContentSchema(context: string): Record<string, unknown>;
/**
* Converts an HTML string to known blocks.
*
* @param $1
* @param $1.HTML The HTML to convert.
*
* @return A list of blocks.
*/
export declare function rawHandler({ HTML }: {
HTML?: string;
}): Block[];
//# sourceMappingURL=index.d.ts.map