forked from github/plane
6607caade7
* image restoration fixed (marks an image to be deleted after a week) * removed clgs * added image constraints * formatted editor-core package using yarn format * lite-text-editor nothing to format * rich-text-editor nothing to format * formatted document-editor with prettier * modified file service to follow api change * fixed more formatting in document editor * fixed all instances of types with that from the package * fixed delete to work consistently (minor optimizations turned off) * stop duplicate images inside editor * restore image on editor creation say if user A deletes image number 2, user B was also in the same issue and in their screen the image was there, if user B makes certain changes and that gets saved in backend, according to user B image 2 should exist but since user A deleted it, it'll not get restored and get deleted in 7 days, hence I've added a check such that whenever a issue loads we restore all images by default * added restore image function with types * replaced all instances to have restore image logic * fixed issue detail for peek view * disabled option to insert table inside a table
56 lines
1.2 KiB
JSON
56 lines
1.2 KiB
JSON
{
|
|
"name": "@plane/lite-text-editor",
|
|
"version": "0.1.0",
|
|
"description": "Package that powers Plane's Comment Editor",
|
|
"private": true,
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.mts",
|
|
"files": [
|
|
"dist/**/*"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"import": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"check-types": "tsc --noEmit",
|
|
"format": "prettier --write \"**/*.{ts,tsx,md}\""
|
|
},
|
|
"peerDependencies": {
|
|
"next": "12.3.2",
|
|
"next-themes": "^0.2.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "18.2.0"
|
|
},
|
|
"dependencies": {
|
|
"@plane/editor-core": "*",
|
|
"@plane/ui": "*",
|
|
"@plane/editor-types": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "18.15.3",
|
|
"@types/react": "^18.2.35",
|
|
"@types/react-dom": "^18.2.14",
|
|
"eslint": "^7.32.0",
|
|
"postcss": "^8.4.29",
|
|
"tailwind-config-custom": "*",
|
|
"eslint-config-custom": "*",
|
|
"tsconfig": "*",
|
|
"tsup": "^7.2.0",
|
|
"typescript": "4.9.5"
|
|
},
|
|
"keywords": [
|
|
"editor",
|
|
"rich-text",
|
|
"markdown",
|
|
"nextjs",
|
|
"react"
|
|
]
|
|
}
|