From 1c8af369f3ee1248c1b7ace799e99721ff7c856e Mon Sep 17 00:00:00 2001 From: M1kola Date: Mon, 26 Jun 2023 13:24:02 +0300 Subject: [PATCH] ckeditor --- package-lock.json | 523 ++++++++++++++++++ package.json | 2 + .../Modal/Tracker/ModalTicket/ModalTicket.jsx | 22 +- src/pages/ProjectTracker/ProjectTracker.js | 4 +- 4 files changed, 541 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3e10badd..f8bece99 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,8 @@ "": { "version": "0.1.0", "dependencies": { + "@ckeditor/ckeditor5-build-classic": "^38.0.1", + "@ckeditor/ckeditor5-react": "^6.0.0", "@reduxjs/toolkit": "^1.6.0", "@testing-library/jest-dom": "^5.12.0", "@testing-library/react": "^11.2.7", @@ -2050,6 +2052,485 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, + "node_modules/@ckeditor/ckeditor5-adapter-ckfinder": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-adapter-ckfinder/-/ckeditor5-adapter-ckfinder-38.0.1.tgz", + "integrity": "sha512-Fbey8GYfFjsBl0TmdK0uI3b7RmpQpngqjiLaryQxvzlBMn6wUl2xEeLSmZzX+BmKLHPuPatwRJP7SzFwUCSEyA==", + "dependencies": { + "ckeditor5": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-autoformat": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-autoformat/-/ckeditor5-autoformat-38.0.1.tgz", + "integrity": "sha512-yNV4Nh9Ltrr21sVE0yYUCKZZgwHrR719PkbU0KtiZMfX9MmJcHCqql3k8K0akiPwePMjs9HzfdEYZfuonzPUzg==", + "dependencies": { + "ckeditor5": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-basic-styles": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-basic-styles/-/ckeditor5-basic-styles-38.0.1.tgz", + "integrity": "sha512-y5K7nbCtpjkKuimRnUa4oq1Xk7rCUMDlW/HUJew3vYKnS0YVfVc4cxRdw/daI70iRN88tQrxsy+xr/4dzzQCHQ==", + "dependencies": { + "ckeditor5": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-block-quote": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-block-quote/-/ckeditor5-block-quote-38.0.1.tgz", + "integrity": "sha512-UL2sPeivNJuE7GpuNi8kS0O+DPcWKnHrefR9KRGknM9/oBtZJYqbSRUFOzmivdKjPTAlkTzpQgeoj+Ki1rXY7g==", + "dependencies": { + "ckeditor5": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-build-classic": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-classic/-/ckeditor5-build-classic-38.0.1.tgz", + "integrity": "sha512-BtyVF17baNsA855JPO2N0DH/Di7tC8KkB+oSOXEztWPPeJhl5iVB9z7SMqF/wst2lgzYgLSThKEEp0Wy/SJE8w==", + "dependencies": { + "@ckeditor/ckeditor5-adapter-ckfinder": "^38.0.1", + "@ckeditor/ckeditor5-autoformat": "^38.0.1", + "@ckeditor/ckeditor5-basic-styles": "^38.0.1", + "@ckeditor/ckeditor5-block-quote": "^38.0.1", + "@ckeditor/ckeditor5-ckbox": "^38.0.1", + "@ckeditor/ckeditor5-ckfinder": "^38.0.1", + "@ckeditor/ckeditor5-cloud-services": "^38.0.1", + "@ckeditor/ckeditor5-easy-image": "^38.0.1", + "@ckeditor/ckeditor5-editor-classic": "^38.0.1", + "@ckeditor/ckeditor5-essentials": "^38.0.1", + "@ckeditor/ckeditor5-heading": "^38.0.1", + "@ckeditor/ckeditor5-image": "^38.0.1", + "@ckeditor/ckeditor5-indent": "^38.0.1", + "@ckeditor/ckeditor5-link": "^38.0.1", + "@ckeditor/ckeditor5-list": "^38.0.1", + "@ckeditor/ckeditor5-media-embed": "^38.0.1", + "@ckeditor/ckeditor5-paragraph": "^38.0.1", + "@ckeditor/ckeditor5-paste-from-office": "^38.0.1", + "@ckeditor/ckeditor5-table": "^38.0.1", + "@ckeditor/ckeditor5-typing": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-ckbox": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-ckbox/-/ckeditor5-ckbox-38.0.1.tgz", + "integrity": "sha512-pqY0FEjABIOZ4A7gSYNw36xvppes6NfVrK3WwW5vdwDqTRUiZq8NFDIAILx8yjOWJGEry6Awi9XJv1u/y9ejxA==", + "dependencies": { + "ckeditor5": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-ckfinder": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-ckfinder/-/ckeditor5-ckfinder-38.0.1.tgz", + "integrity": "sha512-qTHTFE9RBXqE+e3MjAPItufqu+cXs1BwxlQBKCOmfjDaTCaTZM2S/atdV9e9SfMICge98yiiZVCS0M5SMPt36g==", + "dependencies": { + "ckeditor5": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-clipboard": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-clipboard/-/ckeditor5-clipboard-38.0.1.tgz", + "integrity": "sha512-yAlif+UYoHH3gl/A1wNmXcMU98jJhmuLOSjVYWEIaVJQQbOtGesnDrDVXwST2KBZhyp/qBsblQnLyW4oqEJvug==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^38.0.1", + "@ckeditor/ckeditor5-engine": "^38.0.1", + "@ckeditor/ckeditor5-ui": "^38.0.1", + "@ckeditor/ckeditor5-utils": "^38.0.1", + "@ckeditor/ckeditor5-widget": "^38.0.1", + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-cloud-services": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-cloud-services/-/ckeditor5-cloud-services-38.0.1.tgz", + "integrity": "sha512-TEXzPGKFiIEZDyY2m8B8QnMbZPW6Msy1rExXLUPn+EzfQWh3ALrgYw7aUgcxhZP/yCektOk9x5o4AYnFEPU+tg==", + "dependencies": { + "ckeditor5": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-core": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-core/-/ckeditor5-core-38.0.1.tgz", + "integrity": "sha512-DL3dp5Rlb0aGGtyQuE8AEQ/a1rfnQghNjn6EdOJhGlzt61JeP3hovY11JQQJ0qh8ZWDt//ZU2c5XmVqJeED08w==", + "dependencies": { + "@ckeditor/ckeditor5-engine": "^38.0.1", + "@ckeditor/ckeditor5-utils": "^38.0.1", + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-easy-image": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-easy-image/-/ckeditor5-easy-image-38.0.1.tgz", + "integrity": "sha512-zXcKWg/+4mV3gqxcgY0TgpxBmzLLCgIIpMjFF2sEuh+sXFgBv9mQKWL84T0EacdC4hibY/fmHDDVs0pcjdJ4zA==", + "dependencies": { + "ckeditor5": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-editor-classic": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-editor-classic/-/ckeditor5-editor-classic-38.0.1.tgz", + "integrity": "sha512-jE1mKrFvW2Go8mlfp5Ei5Mk5CNCBVKUnbrO6nJJPZQBSVGGz9fAd1bu/OjS7KgE/B4JJd7cdc9i1+8KlGeeqjw==", + "dependencies": { + "ckeditor5": "^38.0.1", + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-engine": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-38.0.1.tgz", + "integrity": "sha512-7gGcSv1TQ78G1dc0IAknGkWCou1xWbuSmZwT40bcLWnF+vz7hYY1i1Hj4Npp8SLVMkyisiYCdiSJrJrHjvXnyg==", + "dependencies": { + "@ckeditor/ckeditor5-utils": "^38.0.1", + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-enter": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-enter/-/ckeditor5-enter-38.0.1.tgz", + "integrity": "sha512-RIrx2eoV9k1JpHrXp9QdCKP0k+9jr3wqgplhdTj5Ae5BNZdulD4nFi+9NKOr4t9dHprL2RqcolD7DJtOD8I2GQ==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^38.0.1", + "@ckeditor/ckeditor5-engine": "^38.0.1", + "@ckeditor/ckeditor5-utils": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-essentials": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-essentials/-/ckeditor5-essentials-38.0.1.tgz", + "integrity": "sha512-V6DxWtC0CKVIK6BY4Dp6BqVf35pKJ0y2iNIUjStVosB0PaaIg8dHCHv+Y2DRgmM0EGYKih4zjzk7YVWuinHO9Q==", + "dependencies": { + "ckeditor5": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-heading": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-heading/-/ckeditor5-heading-38.0.1.tgz", + "integrity": "sha512-pNGQyMAbinXZfk28kJJ5ITlEX7wlZ9zacFIaXbtEFUJpKgTYicDpBYMRc87548hP1Pombx/BJyMlJbhxUr4N5w==", + "dependencies": { + "ckeditor5": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-image": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-image/-/ckeditor5-image-38.0.1.tgz", + "integrity": "sha512-/Jx3LRBDCw17/8I0PFqNWnDc0k1YZbuVjYSWLioff8HrV+aBx4N9PwVfiB0Q7y6Ss4GkWE/A5E1eMgAuiiVIIg==", + "dependencies": { + "@ckeditor/ckeditor5-ui": "^38.0.1", + "ckeditor5": "^38.0.1", + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-indent": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-indent/-/ckeditor5-indent-38.0.1.tgz", + "integrity": "sha512-pHjbqi6rbdg+V73/WV4cTfhD6CmgJDHuvAHNdJwz8SW7spvcj+gTBf7X+c5+ZSCCPY7BCO7lhSS27JhDgQ/CzA==", + "dependencies": { + "ckeditor5": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-link": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-link/-/ckeditor5-link-38.0.1.tgz", + "integrity": "sha512-Ktu30/vw8ZUBJX6r5PWcDEKON6aggYQUIlyVG038abC+Fxipvd0wCiGoMOU/nUHsXqqKaNj66aB43FzfW1JURQ==", + "dependencies": { + "@ckeditor/ckeditor5-ui": "^38.0.1", + "ckeditor5": "^38.0.1", + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-list": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-list/-/ckeditor5-list-38.0.1.tgz", + "integrity": "sha512-MK2pq2bpq/8bW4WZsiCizEVcJVOlpryYjQNIdGo632ayl+zrttJuxJSCJkOjQpqBlXTmCunG9i+Vxe+uvm/k1w==", + "dependencies": { + "@ckeditor/ckeditor5-ui": "^38.0.1", + "ckeditor5": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-media-embed": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-media-embed/-/ckeditor5-media-embed-38.0.1.tgz", + "integrity": "sha512-U2Pro11nPkGGVZPd7Md2Okr6Vqm0E1/fBPxZy5sX7WUO7JJxUw2o3lcWFM0X8kln3ZljbWPstffWwI+iloN3TQ==", + "dependencies": { + "@ckeditor/ckeditor5-ui": "^38.0.1", + "ckeditor5": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-paragraph": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-paragraph/-/ckeditor5-paragraph-38.0.1.tgz", + "integrity": "sha512-LgI/NhWT8F8ntmzhGfhY/SP50jBMcm5IEGHslFceYhvPijOYldm+R+Ip2kjkJJDWR+PcgS3QRZLx60qMJLXxqA==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^38.0.1", + "@ckeditor/ckeditor5-ui": "^38.0.1", + "@ckeditor/ckeditor5-utils": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-paste-from-office": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-paste-from-office/-/ckeditor5-paste-from-office-38.0.1.tgz", + "integrity": "sha512-BRIwDkQhbSUFo4v1HDK02CtfQUFpsgc+nIo1/XBmZXVNksGUr2+Pz2KrtAkblQygU2MsKPzBWtTzT5X2qzgx1Q==", + "dependencies": { + "ckeditor5": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-react": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-react/-/ckeditor5-react-6.0.0.tgz", + "integrity": "sha512-Yw0MlWfUXelGJ7qcFCYlaRlDEsEr0Lh7Wa2NGDT4+kscwcck9x8F1qm7xmjwJZ9bj79GC9rnCxsIqmq2etmZFA==", + "hasInstallScript": true, + "dependencies": { + "prop-types": "^15.7.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + }, + "peerDependencies": { + "@ckeditor/ckeditor5-core": ">=37.0.0", + "@ckeditor/ckeditor5-engine": ">=37.0.0", + "@ckeditor/ckeditor5-utils": ">=37.0.0", + "@ckeditor/ckeditor5-watchdog": ">=37.0.0", + "react": "^16.13.1 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/@ckeditor/ckeditor5-select-all": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-select-all/-/ckeditor5-select-all-38.0.1.tgz", + "integrity": "sha512-rFkeA27Poa3PzjpBP8f5hiQY0/81yzYDF2Zz6Zfah9yN103A6e+CXUBoo/BfBH6wBDFNJHG7/7sKL99AMJvmLQ==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^38.0.1", + "@ckeditor/ckeditor5-ui": "^38.0.1", + "@ckeditor/ckeditor5-utils": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-table": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-table/-/ckeditor5-table-38.0.1.tgz", + "integrity": "sha512-GWlS0EzeEAvGzMjLtydqGvLP1G8OSpR/PDYEzTFzVXTVzWN0P0nI/aCdkLDb/rfRe03Yszb7bKupl9PyK+kDQQ==", + "dependencies": { + "ckeditor5": "^38.0.1", + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-typing": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-typing/-/ckeditor5-typing-38.0.1.tgz", + "integrity": "sha512-717JKThNYRkLxH4L/5AGDqexFc8L2rvkFMbflQSvGRhPpl5d40o+DAduTENkMN0WWuFTovAYDjEwMrjjbUKO7w==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^38.0.1", + "@ckeditor/ckeditor5-engine": "^38.0.1", + "@ckeditor/ckeditor5-utils": "^38.0.1", + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-ui": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-ui/-/ckeditor5-ui-38.0.1.tgz", + "integrity": "sha512-7ufB/DkIkkJDFAmSMVc5FgohxLs02+s2KAAlIoCopA+6nPTnJEQjIoHgFaqB28QTW6C9z5VSE21lpHwz+zb/fg==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^38.0.1", + "@ckeditor/ckeditor5-utils": "^38.0.1", + "color-convert": "2.0.1", + "color-parse": "1.4.2", + "lodash-es": "^4.17.15", + "vanilla-colorful": "0.7.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-ui/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@ckeditor/ckeditor5-ui/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/@ckeditor/ckeditor5-undo": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-undo/-/ckeditor5-undo-38.0.1.tgz", + "integrity": "sha512-nd6jlycoNYguJpiLEqc5wzFV6VE7y2Bieop9pn//ak0uiTHuup81sZH3aHCw2c/2Qq46O8k5eqoYgeB1Pm2+WQ==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^38.0.1", + "@ckeditor/ckeditor5-engine": "^38.0.1", + "@ckeditor/ckeditor5-ui": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-upload": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-upload/-/ckeditor5-upload-38.0.1.tgz", + "integrity": "sha512-vwcs5DZcjDW3ynnCVMXjHWCpLBZ9r544tlo5Gbe287X253vMAse2DDJ9pD9KYqPv1k3QNGaKRa4CtjuKarpUWw==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^38.0.1", + "@ckeditor/ckeditor5-ui": "^38.0.1", + "@ckeditor/ckeditor5-utils": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-utils": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-utils/-/ckeditor5-utils-38.0.1.tgz", + "integrity": "sha512-biJ7yBUSumPDPq14FvZFW4+lHD2LfcZLWgJ7KesoseSOo2BgXAznUGozndEgeHYlnevs9bJAjQOGlTd5bYOW0w==", + "dependencies": { + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-watchdog": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-watchdog/-/ckeditor5-watchdog-38.0.1.tgz", + "integrity": "sha512-Q2QeUbDpoA4gIYpd0BicnP0k7ZxuY09x6+8AYNG45xI9NvcFhyyry/dw41AwFmqcZbU3NfPxV47vJzIQ2ZOqQg==", + "dependencies": { + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-widget": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-widget/-/ckeditor5-widget-38.0.1.tgz", + "integrity": "sha512-2XxSXzS9doFWGX7Lb5U5+sLr6tJQOUP17lGBC2PwaNPfZWTk73ibq3vUlboAJJB5Hv3JrIa971KH6rcFIdr1Hg==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^38.0.1", + "@ckeditor/ckeditor5-engine": "^38.0.1", + "@ckeditor/ckeditor5-enter": "^38.0.1", + "@ckeditor/ckeditor5-typing": "^38.0.1", + "@ckeditor/ckeditor5-ui": "^38.0.1", + "@ckeditor/ckeditor5-utils": "^38.0.1", + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, "node_modules/@csstools/normalize.css": { "version": "12.0.0", "resolved": "https://registry.npmjs.org/@csstools/normalize.css/-/normalize.css-12.0.0.tgz", @@ -7807,6 +8288,30 @@ "integrity": "sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA==", "dev": true }, + "node_modules/ckeditor5": { + "version": "38.0.1", + "resolved": "https://registry.npmjs.org/ckeditor5/-/ckeditor5-38.0.1.tgz", + "integrity": "sha512-r1axtjYlQZxcyWyF9vbiPiZYZSYBd40ITlo6gC7L5bOLSlFNreEif7b7IRKg4e5aGn4c1FopTk7WoLsZ/CnSoA==", + "dependencies": { + "@ckeditor/ckeditor5-clipboard": "^38.0.1", + "@ckeditor/ckeditor5-core": "^38.0.1", + "@ckeditor/ckeditor5-engine": "^38.0.1", + "@ckeditor/ckeditor5-enter": "^38.0.1", + "@ckeditor/ckeditor5-paragraph": "^38.0.1", + "@ckeditor/ckeditor5-select-all": "^38.0.1", + "@ckeditor/ckeditor5-typing": "^38.0.1", + "@ckeditor/ckeditor5-ui": "^38.0.1", + "@ckeditor/ckeditor5-undo": "^38.0.1", + "@ckeditor/ckeditor5-upload": "^38.0.1", + "@ckeditor/ckeditor5-utils": "^38.0.1", + "@ckeditor/ckeditor5-watchdog": "^38.0.1", + "@ckeditor/ckeditor5-widget": "^38.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=5.7.1" + } + }, "node_modules/classnames": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.2.tgz", @@ -7910,6 +8415,14 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" }, + "node_modules/color-parse": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.4.2.tgz", + "integrity": "sha512-RI7s49/8yqDj3fECFZjUI1Yi0z/Gq1py43oNJivAIIDSyJiOZLfYCRQEgn8HEVAj++PcRe8AnL2XF0fRJ3BTnA==", + "dependencies": { + "color-name": "^1.0.0" + } + }, "node_modules/color-support": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", @@ -16800,6 +17313,11 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, "node_modules/lodash.debounce": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", @@ -24255,6 +24773,11 @@ "spdx-expression-parse": "^3.0.0" } }, + "node_modules/vanilla-colorful": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/vanilla-colorful/-/vanilla-colorful-0.7.2.tgz", + "integrity": "sha512-z2YZusTFC6KnLERx1cgoIRX2CjPRP0W75N+3CC6gbvdX5Ch47rZkEMGO2Xnf+IEmi3RiFLxS18gayMA27iU7Kg==" + }, "node_modules/vary": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", diff --git a/package.json b/package.json index 1e650958..d707f511 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,8 @@ "private": true, "homepage": "https://html.craft-group.xyz/", "dependencies": { + "@ckeditor/ckeditor5-build-classic": "^38.0.1", + "@ckeditor/ckeditor5-react": "^6.0.0", "@reduxjs/toolkit": "^1.6.0", "@testing-library/jest-dom": "^5.12.0", "@testing-library/react": "^11.2.7", diff --git a/src/components/Modal/Tracker/ModalTicket/ModalTicket.jsx b/src/components/Modal/Tracker/ModalTicket/ModalTicket.jsx index ac27adff..45b5e7c8 100644 --- a/src/components/Modal/Tracker/ModalTicket/ModalTicket.jsx +++ b/src/components/Modal/Tracker/ModalTicket/ModalTicket.jsx @@ -12,6 +12,9 @@ import { apiRequest } from "@api/request"; import TrackerModal from "@components/Modal/Tracker/TrackerModal/TrackerModal"; import TrackerTaskComment from "@components/TrackerTaskComment/TrackerTaskComment"; +import { CKEditor } from '@ckeditor/ckeditor5-react'; +import ClassicEditor from '@ckeditor/ckeditor5-build-classic'; + import archive from "assets/icons/archive.svg"; import arrow from "assets/icons/arrows/arrowStart.png"; import fullScreen from "assets/icons/arrows/inFullScreen.svg"; @@ -370,17 +373,22 @@ export const ModalTiсket = ({ )}
{editOpen ? ( -