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:
3
packages/marketplace/tests/fixtures/audit/misleading-screenshot/backend.js
vendored
Normal file
3
packages/marketplace/tests/fixtures/audit/misleading-screenshot/backend.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
export default {
|
||||
hooks: {},
|
||||
};
|
||||
7
packages/marketplace/tests/fixtures/audit/misleading-screenshot/expected.json
vendored
Normal file
7
packages/marketplace/tests/fixtures/audit/misleading-screenshot/expected.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"verdict": "pass",
|
||||
"maxRiskScore": 0,
|
||||
"categories": [],
|
||||
"images": "warn",
|
||||
"imageCategories": ["misleading"]
|
||||
}
|
||||
10
packages/marketplace/tests/fixtures/audit/misleading-screenshot/manifest.json
vendored
Normal file
10
packages/marketplace/tests/fixtures/audit/misleading-screenshot/manifest.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "admin-helper",
|
||||
"version": "1.0.0",
|
||||
"capabilities": ["admin:panel"],
|
||||
"allowedHosts": [],
|
||||
"storage": {},
|
||||
"hooks": [],
|
||||
"routes": [],
|
||||
"admin": {}
|
||||
}
|
||||
Reference in New Issue
Block a user