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:
45
packages/plugins/forms/package.json
Normal file
45
packages/plugins/forms/package.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"name": "@emdash-cms/plugin-forms",
|
||||
"version": "0.2.0",
|
||||
"description": "Forms plugin for EmDash CMS - build forms, collect submissions, send notifications",
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./admin": "./src/admin.tsx",
|
||||
"./astro": "./src/astro/index.ts",
|
||||
"./client": "./src/client/index.ts",
|
||||
"./styles": "./src/styles/forms.css"
|
||||
},
|
||||
"files": [
|
||||
"src"
|
||||
],
|
||||
"keywords": [
|
||||
"emdash",
|
||||
"cms",
|
||||
"plugin",
|
||||
"forms",
|
||||
"submissions",
|
||||
"contact-form"
|
||||
],
|
||||
"author": "Matt Kane",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"astro": ">=6.0.0-beta.0",
|
||||
"emdash": "workspace:>=0.9.0",
|
||||
"react": "^18.0.0 || ^19.0.0",
|
||||
"@phosphor-icons/react": "^2.1.10",
|
||||
"@cloudflare/kumo": "^1.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"ulidx": "^2.4.1"
|
||||
},
|
||||
"scripts": {
|
||||
"typecheck": "tsgo --noEmit"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/emdash-cms/emdash.git",
|
||||
"directory": "packages/plugins/forms"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user