block.json
2 years ago
view.asset.php
2 years ago
view.css
2 years ago
view.js
2 years ago
view.rtl.css
2 years ago
block.json
94 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "jetpack/google-docs-embed", |
| 5 | "title": "Google Docs (Beta)", |
| 6 | "description": "Embed a Google Document.", |
| 7 | "keywords": [ |
| 8 | "document", |
| 9 | "gsuite", |
| 10 | "doc" |
| 11 | ], |
| 12 | "version": "12.5.0", |
| 13 | "textdomain": "jetpack", |
| 14 | "category": "embed", |
| 15 | "icon": "<svg viewBox='0 0 64 88' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='M58,88H6c-3.3,0-6-2.7-6-6V6c0-3.3,2.7-6,6-6h36l22,22v60C64,85.3,61.3,88,58,88z' /><path fill='#FDFFFF' d='M42,0l22,22H42V0z' /><path fill='#FDFFFF' d='M50,39H14v-5h36V39z M50,46H14v5h36V46z M40,58H14v5h26V58z' /></svg>", |
| 16 | "supports": { |
| 17 | "align": [ |
| 18 | "left", |
| 19 | "right", |
| 20 | "center", |
| 21 | "wide", |
| 22 | "full" |
| 23 | ], |
| 24 | "anchor": true |
| 25 | }, |
| 26 | "attributes": { |
| 27 | "url": { |
| 28 | "type": "string", |
| 29 | "default": "" |
| 30 | }, |
| 31 | "aspectRatio": { |
| 32 | "type": "string" |
| 33 | }, |
| 34 | "variation": { |
| 35 | "type": "string" |
| 36 | } |
| 37 | }, |
| 38 | "variations": [ |
| 39 | { |
| 40 | "name": "jetpack/google-docs", |
| 41 | "isDefault": true, |
| 42 | "title": "Google Docs", |
| 43 | "description": "Embed a Google Document.", |
| 44 | "icon": "<svg viewBox='0 0 64 88' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='M58,88H6c-3.3,0-6-2.7-6-6V6c0-3.3,2.7-6,6-6h36l22,22v60C64,85.3,61.3,88,58,88z' /><path fill='#FDFFFF' d='M42,0l22,22H42V0z' /><path fill='#FDFFFF' d='M50,39H14v-5h36V39z M50,46H14v5h36V46z M40,58H14v5h26V58z' /></svg>", |
| 45 | "keywords": [ |
| 46 | "document", |
| 47 | "gsuite", |
| 48 | "doc" |
| 49 | ], |
| 50 | "attributes": { |
| 51 | "variation": "jetpack/google-docs" |
| 52 | }, |
| 53 | "isActive": [ |
| 54 | "variation" |
| 55 | ] |
| 56 | }, |
| 57 | { |
| 58 | "name": "jetpack/google-sheets", |
| 59 | "isDefault": true, |
| 60 | "title": "Google Sheets", |
| 61 | "description": "Embed a Google Sheet.", |
| 62 | "icon": "<svg viewBox='0 0 64 88' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='M58,88H6c-3.3,0-6-2.7-6-6V6c0-3.3,2.7-6,6-6h36l22,22v60C64,85.3,61.3,88,58,88z' /><path fill='#FDFFFF' d='M42,0l22,22H42V0z' /><path fill='#FDFFFF' d='M12,34.5v28h40v-28H12z M17,39.5h12.5V46H17V39.5z M17,51h12.5v6.5H17V51z M47,57.5H34.5V51H47V57.5z M47,46 H34.5v-6.5H47V46z' /></svg>", |
| 63 | "keywords": [ |
| 64 | "sheet", |
| 65 | "spreadsheet" |
| 66 | ], |
| 67 | "attributes": { |
| 68 | "variation": "jetpack/google-sheets" |
| 69 | }, |
| 70 | "isActive": [ |
| 71 | "variation" |
| 72 | ] |
| 73 | }, |
| 74 | { |
| 75 | "name": "jetpack/google-slides", |
| 76 | "isDefault": true, |
| 77 | "title": "Google Slides", |
| 78 | "description": "Embed a Google Slides presentation.", |
| 79 | "icon": "<svg viewBox='0 0 64 88' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='M58,88H6c-3.3,0-6-2.7-6-6V6c0-3.3,2.7-6,6-6h36l22,22v60C64,85.3,61.3,88,58,88z' /><path fill='#FDFFFF' d='M42,0l22,22H42V0z' /><path fill='#FDFFFF' d='M12,34.5v28h40v-28H12z M47,57.5H17v-18h30V57.5z' /></svg>", |
| 80 | "keywords": [ |
| 81 | "slide", |
| 82 | "presentation", |
| 83 | "deck" |
| 84 | ], |
| 85 | "attributes": { |
| 86 | "variation": "jetpack/google-slides" |
| 87 | }, |
| 88 | "isActive": [ |
| 89 | "variation" |
| 90 | ] |
| 91 | } |
| 92 | ], |
| 93 | "editorScript": "jetpack-blocks-editor" |
| 94 | } |