summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/shortcode/block.json
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/shortcode/block.json')
-rw-r--r--wp-includes/blocks/shortcode/block.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/wp-includes/blocks/shortcode/block.json b/wp-includes/blocks/shortcode/block.json
new file mode 100644
index 0000000..22d838a
--- /dev/null
+++ b/wp-includes/blocks/shortcode/block.json
@@ -0,0 +1,21 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 3,
+ "name": "core/shortcode",
+ "title": "Shortcode",
+ "category": "widgets",
+ "description": "Insert additional custom elements with a WordPress shortcode.",
+ "textdomain": "default",
+ "attributes": {
+ "text": {
+ "type": "string",
+ "source": "raw"
+ }
+ },
+ "supports": {
+ "className": false,
+ "customClassName": false,
+ "html": false
+ },
+ "editorStyle": "wp-block-shortcode-editor"
+}