angelovcom.net

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

block.json (1821B)


      1 {
      2 	"apiVersion": 2,
      3 	"name": "core/media-text",
      4 	"title": "Media & Text",
      5 	"category": "media",
      6 	"description": "Set media and words side-by-side for a richer layout.",
      7 	"keywords": [ "image", "video" ],
      8 	"textdomain": "default",
      9 	"attributes": {
     10 		"align": {
     11 			"type": "string",
     12 			"default": "wide"
     13 		},
     14 		"mediaAlt": {
     15 			"type": "string",
     16 			"source": "attribute",
     17 			"selector": "figure img",
     18 			"attribute": "alt",
     19 			"default": ""
     20 		},
     21 		"mediaPosition": {
     22 			"type": "string",
     23 			"default": "left"
     24 		},
     25 		"mediaId": {
     26 			"type": "number"
     27 		},
     28 		"mediaUrl": {
     29 			"type": "string",
     30 			"source": "attribute",
     31 			"selector": "figure video,figure img",
     32 			"attribute": "src"
     33 		},
     34 		"mediaLink": {
     35 			"type": "string"
     36 		},
     37 		"linkDestination": {
     38 			"type": "string"
     39 		},
     40 		"linkTarget": {
     41 			"type": "string",
     42 			"source": "attribute",
     43 			"selector": "figure a",
     44 			"attribute": "target"
     45 		},
     46 		"href": {
     47 			"type": "string",
     48 			"source": "attribute",
     49 			"selector": "figure a",
     50 			"attribute": "href"
     51 		},
     52 		"rel": {
     53 			"type": "string",
     54 			"source": "attribute",
     55 			"selector": "figure a",
     56 			"attribute": "rel"
     57 		},
     58 		"linkClass": {
     59 			"type": "string",
     60 			"source": "attribute",
     61 			"selector": "figure a",
     62 			"attribute": "class"
     63 		},
     64 		"mediaType": {
     65 			"type": "string"
     66 		},
     67 		"mediaWidth": {
     68 			"type": "number",
     69 			"default": 50
     70 		},
     71 		"mediaSizeSlug": {
     72 			"type": "string"
     73 		},
     74 		"isStackedOnMobile": {
     75 			"type": "boolean",
     76 			"default": true
     77 		},
     78 		"verticalAlignment": {
     79 			"type": "string"
     80 		},
     81 		"imageFill": {
     82 			"type": "boolean"
     83 		},
     84 		"focalPoint": {
     85 			"type": "object"
     86 		}
     87 	},
     88 	"supports": {
     89 		"anchor": true,
     90 		"align": [ "wide", "full" ],
     91 		"html": false,
     92 		"color": {
     93 			"gradients": true,
     94 			"link": true
     95 		}
     96 	},
     97 	"editorStyle": "wp-block-media-text-editor",
     98 	"style": "wp-block-media-text"
     99 }