@wordpress/block-library
Version:
Block library for the WordPress editor.
1 lines • 973 B
Source Map (JSON)
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/post-comment/index.js"],"sourcesContent":["import { comment as icon } from '@wordpress/icons';\nimport initBlock from '../utils/init-block';\nimport metadata from './block.json';\nimport edit from './edit';\nimport save from './save';\n\nconst { name } = metadata;\nexport { metadata, name };\n\nconst TEMPLATE = [\n\t[ 'core/avatar' ],\n\t[ 'core/comment-author-name' ],\n\t[ 'core/comment-date' ],\n\t[ 'core/comment-content' ],\n\t[ 'core/comment-reply-link' ],\n\t[ 'core/comment-edit-link' ],\n];\n\nexport const settings = {\n\ticon,\n\ttemplate: TEMPLATE,\n\tedit,\n\tsave,\n};\n\nexport const init = () => initBlock( { name, metadata, settings } );\n"],"mappings":";;;;;;AAMA,MAAM,EAAE,SAAS;AAYjB,MAAa,WAAW;CACvB,MAAA;CACA,UAAU;EAVV,CAAE,aAAc;EAChB,CAAE,0BAA2B;EAC7B,CAAE,mBAAoB;EACtB,CAAE,sBAAuB;EACzB,CAAE,yBAA0B;EAC5B,CAAE,wBAAyB;CAKjB;CACV;CACA;AACD;AAEA,MAAa,aAAa,UAAW;CAAE;CAAM;CAAU;AAAS,CAAE"}