UNPKG

@wordpress/block-library

Version:
36 lines (26 loc) 587 B
/** * WordPress dependencies */ import { __ } from '@wordpress/i18n'; /** * Internal dependencies */ import edit from './edit'; export const name = 'core/block'; export const settings = { title: __( 'Reusable Block' ), category: 'reusable', description: __( 'Create content, and save it for you and other contributors to reuse across your site. Update the block, and the changes apply everywhere it’s used.' ), attributes: { ref: { type: 'number', }, }, supports: { customClassName: false, html: false, inserter: false, }, edit, save: () => null, };