@wordpress/block-library
Version:
Block library for the WordPress editor.
8 lines (7 loc) • 983 B
Source Map (JSON)
{
"version": 3,
"sources": ["../../src/footnotes/index.js"],
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { formatListNumbered as icon } from '@wordpress/icons';\nimport { registerFormatType } from '@wordpress/rich-text';\n\n/**\n * Internal dependencies\n */\nimport initBlock from '../utils/init-block';\nimport edit from './edit';\nimport metadata from './block.json';\nimport { formatName, format } from './format';\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\tedit,\n};\n\nexport const init = () => {\n\tregisterFormatType( formatName, format );\n\tinitBlock( { name, metadata, settings } );\n};\n"],
"mappings": ";AAGA,SAAS,sBAAsB,YAAY;AAC3C,SAAS,0BAA0B;AAKnC,OAAO,eAAe;AACtB,OAAO,UAAU;AACjB,OAAO,cAAc;AACrB,SAAS,YAAY,cAAc;AAEnC,IAAM,EAAE,KAAK,IAAI;AAIV,IAAM,WAAW;AAAA,EACvB;AAAA,EACA;AACD;AAEO,IAAM,OAAO,MAAM;AACzB,qBAAoB,YAAY,MAAO;AACvC,YAAW,EAAE,MAAM,UAAU,SAAS,CAAE;AACzC;",
"names": []
}