| 1 |
{ |
| 2 |
"$schema": "https://json.schemastore.org/block.json", |
| 3 |
"apiVersion": 2, |
| 4 |
"name": "tropicalista/pdfembed", |
| 5 |
"version": "0.2.9", |
| 6 |
"title": "Embed Pdf", |
| 7 |
"category": "embed", |
| 8 |
"icon": "pdf", |
| 9 |
"description": "PDF embedder with official Adobe Embed API.", |
| 10 |
"supports": { |
| 11 |
"html": false, |
| 12 |
"anchor": true, |
| 13 |
"dimensions": { |
| 14 |
"minHeight": true |
| 15 |
} |
| 16 |
}, |
| 17 |
"attributes": { |
| 18 |
"id": { |
| 19 |
"type": "string", |
| 20 |
"source": "attribute", |
| 21 |
"attribute": "id" |
| 22 |
}, |
| 23 |
"blockId": { |
| 24 |
"type": "string" |
| 25 |
}, |
| 26 |
"apiKey": { |
| 27 |
"type": "string" |
| 28 |
}, |
| 29 |
"width": { |
| 30 |
"type": "number" |
| 31 |
}, |
| 32 |
"height": { |
| 33 |
"type": "number" |
| 34 |
}, |
| 35 |
"mediaUrl": { |
| 36 |
"type": "string" |
| 37 |
}, |
| 38 |
"fileName": { |
| 39 |
"type": "string", |
| 40 |
"default": "My PDF" |
| 41 |
}, |
| 42 |
"embedMode": { |
| 43 |
"type": "string", |
| 44 |
"default": "" |
| 45 |
}, |
| 46 |
"showDownloadPDF": { |
| 47 |
"type": "boolean", |
| 48 |
"default": true |
| 49 |
}, |
| 50 |
"showPrintPDF": { |
| 51 |
"type": "boolean", |
| 52 |
"default": true |
| 53 |
}, |
| 54 |
"showFullScreen": { |
| 55 |
"type": "boolean", |
| 56 |
"default": true |
| 57 |
}, |
| 58 |
"showPageControls": { |
| 59 |
"type": "boolean", |
| 60 |
"default": true |
| 61 |
}, |
| 62 |
"dockPageControls": { |
| 63 |
"type": "boolean", |
| 64 |
"default": true |
| 65 |
}, |
| 66 |
"enableFormFilling": { |
| 67 |
"type": "boolean", |
| 68 |
"default": true |
| 69 |
}, |
| 70 |
"showAnnotationTools": { |
| 71 |
"type": "boolean", |
| 72 |
"default": true |
| 73 |
} |
| 74 |
}, |
| 75 |
"textdomain": "pdf-embed", |
| 76 |
"editorScript": "file:./build/index.js", |
| 77 |
"editorStyle": "file:./build/index.css", |
| 78 |
"style": "file:./build/style-index.css", |
| 79 |
"viewScript": "file:./build/frontend.js" |
| 80 |
} |