| 1 |
( function( blocks, element ) { |
| 2 |
var el = element.createElement, |
| 3 |
registerBlockType = blocks.registerBlockType; |
| 4 |
|
| 5 |
registerBlockType( 'cookiebot/cookie-declaration', { |
| 6 |
title: 'Cookie Declaration', |
| 7 |
keywords: ['cookiebot'], |
| 8 |
icon: 'media-spreadsheet', |
| 9 |
category: 'widgets', |
| 10 |
edit: function(props) { |
| 11 |
return el( |
| 12 |
'i', |
| 13 |
{}, |
| 14 |
'Cookiebot Cookie Declaration' |
| 15 |
); |
| 16 |
}, |
| 17 |
} ); |
| 18 |
}( |
| 19 |
window.wp.blocks, |
| 20 |
window.wp.element, |
| 21 |
) ); |
| 22 |
|