ru-se.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

block.json (943B)


      1 {
      2 	"apiVersion": 2,
      3 	"name": "core/audio",
      4 	"title": "Audio",
      5 	"category": "media",
      6 	"description": "Embed a simple audio player.",
      7 	"keywords": [ "music", "sound", "podcast", "recording" ],
      8 	"textdomain": "default",
      9 	"attributes": {
     10 		"src": {
     11 			"type": "string",
     12 			"source": "attribute",
     13 			"selector": "audio",
     14 			"attribute": "src"
     15 		},
     16 		"caption": {
     17 			"type": "string",
     18 			"source": "html",
     19 			"selector": "figcaption"
     20 		},
     21 		"id": {
     22 			"type": "number"
     23 		},
     24 		"autoplay": {
     25 			"type": "boolean",
     26 			"source": "attribute",
     27 			"selector": "audio",
     28 			"attribute": "autoplay"
     29 		},
     30 		"loop": {
     31 			"type": "boolean",
     32 			"source": "attribute",
     33 			"selector": "audio",
     34 			"attribute": "loop"
     35 		},
     36 		"preload": {
     37 			"type": "string",
     38 			"source": "attribute",
     39 			"selector": "audio",
     40 			"attribute": "preload"
     41 		}
     42 	},
     43 	"supports": {
     44 		"anchor": true,
     45 		"align": true
     46 	},
     47 	"editorStyle": "wp-block-audio-editor",
     48 	"style": "wp-block-audio"
     49 }