Added segment block with test

This commit is contained in:
Justin Foell
2021-04-30 14:59:10 -05:00
parent d3572c9942
commit 30f0377b45
10 changed files with 314 additions and 13 deletions
+30
View File
@@ -0,0 +1,30 @@
{
"name": "wp-strava/segment",
"title": "Strava Segment",
"category": "embed",
"icon": "location-alt",
"description": "Embed a Strava Segment",
"keywords": [ "segment", "map" ],
"textdomain": "wp-strava",
"attributes": {
"url": {
"type": "string",
"default": ""
},
"imageOnly": {
"type": "boolean",
"default": false
},
"displayMarkers": {
"type": "boolean",
"default": true
},
"som": {
"type": "string",
"default": null
}
},
"editorScript": "file:../../../build/index.js",
"editorStyle": "file:../../../build/editor.css",
"style": "file:../../../build/style.css"
}