Skip to content

Commit 91f9451

Browse files
authored
Revert "Feat/tiptap editor"
1 parent a60ccc4 commit 91f9451

147 files changed

Lines changed: 217 additions & 14272 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

β€Žfrontend/package.jsonβ€Ž

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,40 +13,23 @@
1313
"preview": "vite preview"
1414
},
1515
"dependencies": {
16-
"@floating-ui/react": "^0.27.16",
1716
"@radix-ui/react-dialog": "^1.1.15",
18-
"@radix-ui/react-dropdown-menu": "^2.1.16",
1917
"@radix-ui/react-label": "^2.1.8",
20-
"@radix-ui/react-popover": "^1.1.15",
2118
"@radix-ui/react-slot": "^1.2.4",
2219
"@tailwindcss/vite": "^4.1.18",
23-
"@tiptap/core": "^3.15.3",
24-
"@tiptap/extension-highlight": "^3.15.3",
25-
"@tiptap/extension-horizontal-rule": "^3.15.3",
26-
"@tiptap/extension-image": "^3.15.3",
27-
"@tiptap/extension-list": "^3.15.3",
28-
"@tiptap/extension-subscript": "^3.15.3",
29-
"@tiptap/extension-superscript": "^3.15.3",
30-
"@tiptap/extension-text-align": "^3.15.3",
31-
"@tiptap/extension-typography": "^3.15.3",
32-
"@tiptap/extensions": "^3.15.3",
3320
"@tiptap/pm": "^3.15.3",
3421
"@tiptap/react": "^3.15.3",
3522
"@tiptap/starter-kit": "^3.15.3",
3623
"class-variance-authority": "^0.7.1",
3724
"clsx": "^2.1.1",
38-
"dompurify": "^3.3.1",
39-
"lodash.throttle": "^4.1.1",
4025
"lucide-react": "^0.562.0",
4126
"react": "^19.2.0",
4227
"react-dom": "^19.2.0",
43-
"react-hotkeys-hook": "^5.2.1",
4428
"tailwind-merge": "^3.4.0",
4529
"tailwindcss": "^4.1.18"
4630
},
4731
"devDependencies": {
4832
"@eslint/js": "^9.39.1",
49-
"@types/lodash.throttle": "^4.1.9",
5033
"@types/node": "^24.10.1",
5134
"@types/react": "^19.2.5",
5235
"@types/react-dom": "^19.2.3",
@@ -56,7 +39,6 @@
5639
"eslint-plugin-react-hooks": "^7.0.1",
5740
"eslint-plugin-react-refresh": "^0.4.24",
5841
"globals": "^16.5.0",
59-
"sass-embedded": "^1.97.2",
6042
"tw-animate-css": "^1.4.0",
6143
"typescript": "~5.9.3",
6244
"typescript-eslint": "^8.46.4",

β€Žfrontend/src/App.cssβ€Ž

Whitespace-only changes.

β€Žfrontend/src/App.tsxβ€Ž

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import './App.css'
12
import { useEffect, useState } from 'react'
23
import { PlusIcon, Home, BookOpen, Search, Settings, SearchIcon } from 'lucide-react'
34
import type { Quote } from '@/model/quote.model'
@@ -112,9 +113,9 @@ className="rounded-b-2xl sticky top-0 bg-purple-600 p-4">
112113
<span>Books</span>
113114
</button> */}
114115
<Button
115-
className="shadow-[0_0px_12px_rgba(1,255,1,0.4)] fixed bottom-4 !border-gray-500 border-lg "
116+
className="shadow-[0_0px_12px_rgba(1,255,1,0.4)] fixed bottom-4 !border-gray-500 border-lg !bg-white"
116117
onClick={openAddDialog}>
117-
<PlusIcon className='' />
118+
<PlusIcon className='!text-green-500' />
118119
</Button>
119120
{/* <button className="nav-item">
120121
<Search size={24} />

β€Žfrontend/src/components/tiptap-extension/node-background-extension.tsβ€Ž

Lines changed: 0 additions & 150 deletions
This file was deleted.

β€Žfrontend/src/components/tiptap-icons/align-center-icon.tsxβ€Ž

Lines changed: 0 additions & 38 deletions
This file was deleted.

β€Žfrontend/src/components/tiptap-icons/align-justify-icon.tsxβ€Ž

Lines changed: 0 additions & 38 deletions
This file was deleted.

β€Žfrontend/src/components/tiptap-icons/align-left-icon.tsxβ€Ž

Lines changed: 0 additions & 38 deletions
This file was deleted.

β€Žfrontend/src/components/tiptap-icons/align-right-icon.tsxβ€Ž

Lines changed: 0 additions & 38 deletions
This file was deleted.

β€Žfrontend/src/components/tiptap-icons/arrow-left-icon.tsxβ€Ž

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
Β (0)