mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
e01ca97fc9
* 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
60 lines
1.3 KiB
JSON
60 lines
1.3 KiB
JSON
{
|
|
"name": "@plane/document-editor",
|
|
"version": "0.1.0",
|
|
"description": "Package that powers Plane's Pages Editor",
|
|
"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/ui": "*",
|
|
"@plane/editor-core": "*",
|
|
"@plane/editor-extensions": "*",
|
|
"@plane/editor-types": "*",
|
|
"@tiptap/core": "^2.1.7",
|
|
"@tiptap/extension-placeholder": "^2.1.11",
|
|
"@types/node": "18.15.3",
|
|
"@types/react": "^18.2.5",
|
|
"@types/react-dom": "18.0.11",
|
|
"eslint": "8.36.0",
|
|
"eslint-config-next": "13.2.4",
|
|
"react-popper": "^2.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^7.32.0",
|
|
"postcss": "^8.4.29",
|
|
"tailwind-config-custom": "*",
|
|
"tsconfig": "*",
|
|
"tsup": "^7.2.0",
|
|
"typescript": "4.9.5"
|
|
},
|
|
"keywords": [
|
|
"editor",
|
|
"rich-text",
|
|
"markdown",
|
|
"nextjs",
|
|
"react"
|
|
]
|
|
}
|