mirror of
https://github.com/dwaxweiler/connector-mobilizon
synced 2025-06-05 21:59:25 +02:00
Merge branch 'main' into block
This commit is contained in:
@@ -8,20 +8,23 @@ const NAME = '<wordpress-name>'
|
||||
|
||||
registerBlockType(NAME + '/events-list', {
|
||||
title: __('Events List', '<wordpress-name>'),
|
||||
description: __('A list of the upcoming events of the connected Mobilizon instance.', '<wordpress-name>'),
|
||||
description: __(
|
||||
'A list of the upcoming events of the connected Mobilizon instance.',
|
||||
'<wordpress-name>'
|
||||
),
|
||||
icon: 'list-view',
|
||||
category: 'widgets',
|
||||
attributes: {
|
||||
eventsCount: {
|
||||
type: 'number',
|
||||
default: 3
|
||||
default: 3,
|
||||
},
|
||||
groupName: {
|
||||
type: 'string'
|
||||
}
|
||||
type: 'string',
|
||||
},
|
||||
},
|
||||
supports: {
|
||||
html: false
|
||||
html: false,
|
||||
},
|
||||
edit,
|
||||
save,
|
Reference in New Issue
Block a user