Introduces new Gutenberg blocks: language switcher, conversion status indicator, and no-conversion wrapper, with associated frontend and editor assets. Adds frontend JS/CSS for block rendering and interaction. Extends cache compatibility module to support more plugins (WP Fastest Cache, Autoptimize, Jetpack Boost) and improves cache detection and clearing logic. Updates settings page to display detected cache plugins and their statuses.
26 lines
No EOL
756 B
JSON
26 lines
No EOL
756 B
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 2,
|
|
"name": "wpcc/no-conversion",
|
|
"title": "不转换内容",
|
|
"category": "formatting",
|
|
"icon": "lock",
|
|
"description": "包装内容使其不被中文转换功能处理,保持原始文本。",
|
|
"keywords": ["不转换", "保护", "原始", "内容"],
|
|
"textdomain": "wp-chinese-converter",
|
|
"attributes": {},
|
|
"supports": {
|
|
"html": false,
|
|
"color": {
|
|
"background": true,
|
|
"text": true
|
|
},
|
|
"spacing": {
|
|
"margin": true,
|
|
"padding": true
|
|
}
|
|
},
|
|
"editorScript": "file:./index.js",
|
|
"style": "wpcc-blocks-frontend",
|
|
"editorStyle": "wpcc-blocks-editor"
|
|
} |