芝麻web文件管理V1.00
编辑当前文件:/home/r5772835/public_html/ycreate.jp/wp-content/plugins/snow-monkey-blocks/src/blocks/box/index.js
import blockConfig from '@smb/config/block'; import { registerBlockType } from '@wordpress/blocks'; import metadata from './block.json'; import icon from './icon'; import edit from './edit'; import save from './save'; import transforms from './transforms'; import deprecated from './deprecated'; registerBlockType( metadata.name, { icon: { foreground: blockConfig.blockIconColor, src: icon, }, edit, save, transforms, deprecated, } );