(() => { 'use strict'; const {createElement: h} = wp.element; wp.blocks.registerBlockType('kommentti/comments', { title: KommenttiEditor.title, edit() { return h('div', wp.blockEditor.useBlockProps(), h(wp.components.Placeholder, {icon: 'admin-comments', label: KommenttiEditor.title}, h('p', null, KommenttiEditor.description))); }, save() { return null; } }); })();