# blockenberg/2.0.7/blocks/content-warning/block.json

Blockenberg — 600+ Advanced Gutenberg Blocks &amp; AI Agent for WordPress Block Editor, version 2.0.7. 148 lines.

- Page: https://pluginprobe.com/plugins/blockenberg/2.0.7/code/blocks/content-warning/block.json
- Raw: https://pluginprobe.com/plugins/blockenberg/2.0.7/raw/blocks/content-warning/block.json
- Modified: 2026-03-06T12:32:40+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/blockenberg/2.0.7/code/blocks/content-warning/block.json#L10-L20`.

```json
{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "blockenberg/content-warning",
    "version": "1.0.0",
    "title": "Content Warning",
    "category": "bkbg-content",
    "description": "Editorial content advisory or sensitivity notice, optionally collapsible.",
    "keywords": [
        "warning",
        "content warning",
        "cw",
        "trigger",
        "spoiler",
        "advisory",
        "sensitive"
    ],
    "textdomain": "blockenberg",
    "editorScript": "bkbg-content-warning-editor",
    "style": "bkbg-content-warning-style",
    "viewScript": "bkbg-content-warning-frontend",
    "supports": {
        "html": false,
        "align": [
            "wide",
            "full"
        ]
    },
    "attributes": {
        "warningType": {
            "type": "string",
            "default": "sensitive"
        },
        "icon": {
            "type": "string",
            "default": "⚠️"
        },
        "iconType": {
            "type": "string",
            "default": "custom-char"
        },
        "iconDashicon": {
            "type": "string",
            "default": "warning"
        },
        "iconImageUrl": {
            "type": "string",
            "default": ""
        },
        "showIcon": {
            "type": "boolean",
            "default": true
        },
        "label": {
            "type": "string",
            "default": "Content Warning"
        },
        "topics": {
            "type": "string",
            "default": ""
        },
        "message": {
            "type": "string",
            "default": ""
        },
        "showMessage": {
            "type": "boolean",
            "default": true
        },
        "collapsible": {
            "type": "boolean",
            "default": false
        },
        "buttonLabel": {
            "type": "string",
            "default": "I understand — show content"
        },
        "style": {
            "type": "string",
            "default": "box"
        },
        "bgColor": {
            "type": "string",
            "default": "#fef2f2"
        },
        "borderColor": {
            "type": "string",
            "default": "#fca5a5"
        },
        "accentColor": {
            "type": "string",
            "default": "#dc2626"
        },
        "labelColor": {
            "type": "string",
            "default": "#7f1d1d"
        },
        "textColor": {
            "type": "string",
            "default": "#450a0a"
        },
        "topicBg": {
            "type": "string",
            "default": "#fee2e2"
        },
        "topicColor": {
            "type": "string",
            "default": "#991b1b"
        },
        "btnBg": {
            "type": "string",
            "default": "#dc2626"
        },
        "btnColor": {
            "type": "string",
            "default": "#ffffff"
        },
        "borderRadius": {
            "type": "integer",
            "default": 8
        },
        "paddingTop": {
            "type": "integer",
            "default": 0
        },
        "paddingBottom": {
            "type": "integer",
            "default": 0
        },
        "labelFontSize": {
            "type": "number",
            "default": 15
        },
        "messageFontSize": {
            "type": "number",
            "default": 14
        },
        "typoLabel": {
            "type": "object",
            "default": {}
        },
        "typoMessage": {
            "type": "object",
            "default": {}
        }
    }
}

```
