Skip to content

Commit

Permalink
Merge pull request #61 from Tarhche/refactor/ckeditor-migration
Browse files Browse the repository at this point in the history
Migrating form reactjs-tiptap-editor to Ckeditor
  • Loading branch information
sina-saeedi authored Jan 12, 2025
2 parents 8bd9466 + e2e861f commit 6b1f30b
Show file tree
Hide file tree
Showing 16 changed files with 3,895 additions and 7,466 deletions.
11 changes: 0 additions & 11 deletions frontend/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import path from "node:path";

/** @type {import('next').NextConfig} */
const nextConfig = {
output: "standalone",
Expand All @@ -21,15 +19,6 @@ const nextConfig = {
"@mantine/code-highlight",
],
},
webpack: (config, {isServer}) => {
if (!isServer) {
config.resolve.alias["yjs"] = path.resolve(
import.meta.dirname,
"node_modules/yjs",
);
}
return config;
},
};

export default nextConfig;
10,028 changes: 3,162 additions & 6,866 deletions frontend/package-lock.json

Large diffs are not rendered by default.

16 changes: 2 additions & 14 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,41 +12,29 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@ckeditor/ckeditor5-react": "^9.4.0",
"@mantine/code-highlight": "^7.14.3",
"@mantine/core": "^7.14.3",
"@mantine/dates": "^7.14.3",
"@mantine/hooks": "^7.14.3",
"@mantine/notifications": "^7.14.3",
"@mantine/tiptap": "^7.14.3",
"@tabler/icons-react": "^3.19.0",
"@tanstack/react-query": "^5.59.16",
"@tiptap/extension-code-block-lowlight": "^2.9.1",
"@tiptap/extension-highlight": "^2.9.1",
"@tiptap/extension-image": "^2.10.3",
"@tiptap/extension-link": "^2.9.1",
"@tiptap/extension-subscript": "^2.9.1",
"@tiptap/extension-superscript": "^2.9.1",
"@tiptap/extension-text-align": "^2.9.1",
"@tiptap/extension-underline": "^2.9.1",
"@tiptap/pm": "^2.9.1",
"@tiptap/react": "^2.9.1",
"@tiptap/starter-kit": "^2.9.1",
"axios": "^1.7.7",
"boring-avatars": "^1.11.2",
"ckeditor5": "^44.1.0",
"clsx": "^2.1.1",
"cookie": "^1.0.1",
"dayjs": "^1.11.13",
"highlight.js": "^11.10.0",
"html-react-parser": "^5.1.18",
"jsonwebtoken": "^9.0.2",
"katex": "^0.16.18",
"lowlight": "^3.1.0",
"next": "^14.2.20",
"react": "^18",
"react-dom": "^18",
"react-hook-form": "^7.53.0",
"react-medium-image-zoom": "^5.2.11",
"reactjs-tiptap-editor": "^0.1.10",
"sharp": "^0.33.5",
"zod": "^3.23.8"
},
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion frontend/src/components/tiptap-editor/index.ts

This file was deleted.

16 changes: 0 additions & 16 deletions frontend/src/components/tiptap-editor/tiptap-editor.module.css

This file was deleted.

111 changes: 0 additions & 111 deletions frontend/src/components/tiptap-editor/tiptap-editor.tsx

This file was deleted.

Loading

0 comments on commit 6b1f30b

Please sign in to comment.