mirror of
https://github.com/LamGC/wp-asciiplayer.git
synced 2026-11-26 20:55:48 +00:00
Add responsive player layout, captions and native terminal sizing
This commit is contained in:
+5
-1
@@ -2,7 +2,7 @@
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "lamgc/asciiplayer",
|
||||
"version": "1.1.0",
|
||||
"version": "1.2.0",
|
||||
"title": "Asciicast Player",
|
||||
"category": "media",
|
||||
"icon": "editor-code",
|
||||
@@ -21,6 +21,9 @@
|
||||
"autoPlay": { "type": "boolean", "default": false },
|
||||
"preload": { "type": "boolean", "default": true },
|
||||
"width": { "type": "string", "default": "100%" },
|
||||
"displayAlign": { "type": "string", "default": "center", "enum": ["left", "center", "right"] },
|
||||
"caption": { "type": "string", "default": "" },
|
||||
"isExample": { "type": "boolean", "default": false },
|
||||
"legacyStyle": { "type": "string", "default": "" },
|
||||
"cols": { "type": "number" },
|
||||
"rows": { "type": "number" },
|
||||
@@ -29,6 +32,7 @@
|
||||
"terminalLineHeight": { "type": "number" },
|
||||
"poster": { "type": "string" }
|
||||
},
|
||||
"example": { "attributes": { "isExample": true } },
|
||||
"supports": { "html": false, "align": ["wide", "full"] },
|
||||
"editorScript": "lamgc-asciiplayer-editor",
|
||||
"viewScript": "lamgc-asciiplayer-view",
|
||||
|
||||
Reference in New Issue
Block a user