| @@ -1,5 +1,5 @@ | ||
| 1 | -wp.domReady(function () { | |
| 1 | +( function () { | |
| 2 | 2 | var el = wp.element.createElement; |
| 3 | 3 | var useEffect = wp.element.useEffect; |
| 4 | 4 | var useState = wp.element.useState; |
| 5 | 5 | var __ = wp.i18n.__; |
| @@ -97,9 +97,9 @@ | ||
| 97 | 97 | |
| 98 | 98 | registerBlockType('blockenberg/section', { |
| 99 | 99 | title: __('Section', 'blockenberg'), |
| 100 | 100 | icon: sectionIcon, |
| 101 | - category: 'blockenberg', | |
| 101 | + category: 'bkbg-layout', | |
| 102 | 102 | description: __('A container section for organizing content with rows and columns.', 'blockenberg'), |
| 103 | 103 | |
| 104 | 104 | edit: function (props) { |
| 105 | 105 | var attributes = props.attributes; |
| @@ -373,5 +373,5 @@ | ||
| 373 | 373 | ) |
| 374 | 374 | ); |
| 375 | 375 | } |
| 376 | 376 | }); |
| 377 | -}); | |
| 377 | +}() ); | |