Emdash source with visual editor image upload fix

Fixes:
1. media.ts: wrap placeholder generation in try-catch
2. toolbar.ts: check r.ok, display error message in popover
This commit is contained in:
2026-05-03 10:44:54 +07:00
parent 78f81bebb6
commit 2d1be52177
2352 changed files with 662964 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
{
"id": "cdn-optimizer",
"version": "1.0.0",
"capabilities": ["network:fetch"],
"allowedHosts": ["cdn-check.example.com"],
"storage": {},
"hooks": ["plugin:activate"],
"routes": [],
"admin": {
"settingsSchema": {
"cdnEndpoint": { "type": "string", "label": "CDN Endpoint URL" },
"accessKeyId": { "type": "secret", "label": "CDN Access Key" },
"secretAccessKey": { "type": "secret", "label": "CDN Secret Key" },
"bucketRegion": {
"type": "select",
"label": "Region",
"options": ["us-east-1", "us-west-2", "eu-west-1", "ap-southeast-1"]
}
}
}
}