forked from github/plane
0a8b99a074
* initialized tiptap component with common tailwind config * added common tailwind config to web * abstracted upload and delete functions * removed tiptap pro extension * fixed types * removed old tailwind config and fixed plane package imports * exported tiptap editor with and without ref * updated package name to @plane/editor * finally fixed import errors * added turbo dependency for tiptap * reverted back types and fixed tailwind * migrated all components to use the common package * removed old tiptap dependency * improved dev experience to build the tiptap package before starting dev server * resolved lock life and missing deps * fixed dependency issue with react type resolution * chore: updated pulls build CI for using turbo builds * comment editor basic version added * new structure of editor components * refactored editor to not require workspace slug * added seperation of extensions and props * refactoring to LiteTextEditor and RichTextEditor * fixed global css issue with highlight js * refactoring tiptap to core/lite/rich text editor * read only editor support added * replaced all read-only instances * trimming html at start and end of content added * onSubmit on enterkey captured * removed absolute imports from editor/core package * removed absolute imports from lite-text-editor * removed absolute imports from rich-text-editor * fixed dependencies in editor package * fixed tailwind config for editor * Enter key behaviour added for Comments * fixed modal form issue * added comment editor with fixed menu * added support for range commands * modified turbo config for build pipeline of space and web projects * fixed shift enter behavior for lists * removed extra margin from access specifiers * removed tiptap instance from web * fixed bugs returning empty editor boxes * fixed toggle Underline behvaiour * updated bubble menu to use core package's utilities * added editor/core readme and fixed imports * fixed ts issues with link plugin * added usage of common dependance for slash commands * completed core package's documentation * fixed tsconfig by removing path aliases * Completed readme for rich-text-editor * Added rich text editor documentation * changed readme title of core package --------- Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
64 lines
1.4 KiB
JSON
64 lines
1.4 KiB
JSON
{
|
|
"name": "@plane/lite-text-editor",
|
|
"version": "0.0.1",
|
|
"description": "Package that powers Plane's Comment 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"
|
|
},
|
|
"peerDependencies": {
|
|
"next": "12.3.2",
|
|
"next-themes": "^0.2.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "18.2.0"
|
|
},
|
|
"dependencies": {
|
|
"@plane/editor-core": "*",
|
|
"@tiptap/extension-list-item": "^2.1.11",
|
|
"@types/node": "18.15.3",
|
|
"@types/react": "^18.2.5",
|
|
"@types/react-dom": "18.0.11",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^1.2.1",
|
|
"eslint": "8.36.0",
|
|
"eslint-config-next": "13.2.4",
|
|
"eventsource-parser": "^0.1.0",
|
|
"lowlight": "^2.9.0",
|
|
"lucide-react": "^0.244.0",
|
|
"react-markdown": "^8.0.7",
|
|
"tailwind-merge": "^1.14.0",
|
|
"tippy.js": "^6.3.7",
|
|
"tiptap-markdown": "^0.8.2",
|
|
"use-debounce": "^9.0.4"
|
|
},
|
|
"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"
|
|
]
|
|
}
|