@wordpress/editor
Version:
Enhanced block editor for WordPress posts.
25 lines • 728 B
TypeScript
/**
* Function to register core block bindings sources provided by the editor.
*
* @example
* ```js
* import { registerCoreBlockBindingsSources } from '@wordpress/editor';
*
* registerCoreBlockBindingsSources();
* ```
*/
export function registerCoreBlockBindingsSources(): void;
/**
* Function to bootstrap core block bindings sources defined in the server.
*
* @param {Object} sources Object containing the sources to bootstrap.
*
* @example
* ```js
* import { bootstrapBlockBindingsSourcesFromServer } from '@wordpress/editor';
*
* bootstrapBlockBindingsSourcesFromServer( sources );
* ```
*/
export function bootstrapBlockBindingsSourcesFromServer(sources: Object): void;
//# sourceMappingURL=api.d.ts.map