Skip to content
Open
Show file tree
Hide file tree
Changes from 69 commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
a256164
only try
kkatusic Aug 26, 2025
c5ab865
styled almost fixed
kkatusic Aug 27, 2025
0cf9d27
work around to match styles
kkatusic Aug 28, 2025
32f5eb9
fixed most of the icons
kkatusic Aug 28, 2025
fd88ef1
added more styles
kkatusic Aug 28, 2025
d08b12e
all editor stuff are showing now
kkatusic Sep 1, 2025
4b48928
removing components fixing image styles
kkatusic Sep 8, 2025
82bea5a
fixing styles
kkatusic Sep 8, 2025
fb20d3e
Fixing inline image edit, fixing excalidraw
kkatusic Sep 9, 2025
7932891
fixing table insert
kkatusic Sep 9, 2025
c79f544
fixing columns insert
kkatusic Sep 9, 2025
957557e
finished embedded stuff
kkatusic Sep 9, 2025
35c8f08
fixing not used
kkatusic Sep 9, 2025
78e78cb
pushed text of the project to editor
kkatusic Sep 9, 2025
27e70d8
Merge branch 'develop' into check_lexical_editor
kkatusic Oct 10, 2025
266d01b
solving html parse
kkatusic Oct 10, 2025
dcfc3c8
fixing vercel katex type error
kkatusic Nov 24, 2025
dc391c7
fix TW type editor error
kkatusic Nov 24, 2025
651bea4
fix lodash-es import
kkatusic Nov 25, 2025
235e82c
fixing error
kkatusic Nov 25, 2025
7a9479e
fixing excalidraw-types
kkatusic Nov 25, 2025
a36c692
fixing speech recognition type
kkatusic Nov 25, 2025
b12df16
fixing headless
kkatusic Nov 25, 2025
5321726
fix error
kkatusic Nov 25, 2025
62bfacf
removing server we don't use that
kkatusic Nov 25, 2025
0dfcea0
fix eslint errors
kkatusic Nov 25, 2025
c37d7cf
fixing lint errors
kkatusic Nov 25, 2025
9cc83aa
fixing lint errors
kkatusic Nov 25, 2025
1495fcf
fix lint errors
kkatusic Nov 25, 2025
f7dd2be
fixing lint errors
kkatusic Nov 26, 2025
916e7bc
fix lint errors
kkatusic Nov 26, 2025
c02e060
fix lint errors
kkatusic Nov 26, 2025
db6f063
fix lint errors
kkatusic Nov 26, 2025
3c33f5b
fix lint errors
kkatusic Nov 26, 2025
52b0bab
fix lint errors
kkatusic Nov 26, 2025
6c74b59
fixing lint errors
kkatusic Nov 26, 2025
0175380
fix lint errors
kkatusic Nov 26, 2025
1523cdf
fix lint errors
kkatusic Nov 26, 2025
f86bf32
fix lint errors
kkatusic Nov 26, 2025
0243959
fix lint errors
kkatusic Nov 26, 2025
9efa347
fix lint errors
kkatusic Nov 26, 2025
efc17c3
fix lint errors
kkatusic Nov 26, 2025
13e18ad
fix lint errors
kkatusic Nov 26, 2025
4b279bd
fix lint errors
kkatusic Nov 26, 2025
e6f8ced
fixing lint errors
kkatusic Nov 26, 2025
687b7f8
moving katex type file
kkatusic Nov 26, 2025
f785587
remove saving from URL
kkatusic Nov 27, 2025
9a9fbe6
enabling image upload to pinata
kkatusic Nov 27, 2025
8c9c6d9
solve old image display problem
kkatusic Nov 28, 2025
8f4975f
remove posthog
kkatusic Dec 1, 2025
06189ae
fixing posthog
kkatusic Dec 1, 2025
af1628b
fixing image
kkatusic Dec 3, 2025
2375542
removing unused component
kkatusic Dec 3, 2025
7aacb21
remove unused plugin
kkatusic Dec 3, 2025
6a81ae9
remove unused component
kkatusic Dec 3, 2025
3687bb9
remove unused component
kkatusic Dec 3, 2025
e58dc83
fixing two columns layout saving
kkatusic Dec 4, 2025
f087527
fixed counter and errors
kkatusic Dec 5, 2025
36b2e56
remove dev options test
kkatusic Dec 8, 2025
a9bb0d3
fixing textContent and innerhtml
kkatusic Dec 8, 2025
e65badf
fixing class
kkatusic Dec 8, 2025
4ca7514
remove unused console logs
kkatusic Dec 8, 2025
7f100a3
remove console log
kkatusic Dec 8, 2025
810e5f3
Fixing text underline and italic
kkatusic Dec 10, 2025
b36c31c
fixing alignment
kkatusic Dec 12, 2025
77ad6d5
fixing span styles inside editor
kkatusic Dec 12, 2025
bf203e0
fixing inline image upload
kkatusic Dec 15, 2025
9ae8ba9
remove inserting GIF
kkatusic Dec 15, 2025
f85eb65
fixing figma design
kkatusic Dec 15, 2025
33692da
fixing build error
kkatusic Dec 15, 2025
5981d16
fixing table view
kkatusic Dec 15, 2025
5221b16
fixing build error
kkatusic Dec 16, 2025
ba0935c
fixing alignmnet
kkatusic Dec 17, 2025
896429a
fixing figma embeded
kkatusic Dec 17, 2025
72e7351
fixing prettier problem
kkatusic Dec 17, 2025
c8088eb
Fixing editor initializing
kkatusic Dec 19, 2025
77d7037
fixed span replace
kkatusic Dec 19, 2025
8862706
fixing project view description
kkatusic Dec 19, 2025
ec4613b
adding same editor to the Cause
kkatusic Dec 19, 2025
e913f39
Fixing code tag
kkatusic Dec 29, 2025
1865b2f
fixing links
kkatusic Dec 29, 2025
039cb9d
Fixing Cause review description view
kkatusic Jan 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 23 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,20 @@
"dependencies": {
"@apollo/client": "^3.11.8",
"@divvi/referral-sdk": "^1.0.0",
"@excalidraw/excalidraw": "^0.18.0",
"@giveth/ui-design-system": "^1.11.36",
"@lexical/clipboard": "^0.34.0",
"@lexical/code": "^0.34.0",
"@lexical/code-shiki": "^0.34.0",
"@lexical/file": "^0.34.0",
"@lexical/hashtag": "^0.34.0",
"@lexical/link": "^0.34.0",
"@lexical/list": "^0.34.0",
"@lexical/overflow": "^0.34.0",
"@lexical/react": "^0.34.0",
"@lexical/rich-text": "^0.34.0",
"@lexical/table": "^0.34.0",
"@lexical/utils": "^0.34.0",
"@next/third-parties": "^14.2.5",
"@react-google-maps/api": "^2.19.3",
"@reduxjs/toolkit": "^2.2.4",
Expand All @@ -42,16 +55,19 @@
"apollo-upload-client": "^18.0.1",
"base58": "^2.0.1",
"bignumber.js": "^9.1.2",
"date-fns": "^4.1.0",
"deepmerge": "^4.3.1",
"ethers": "^5.7.2",
"framer-motion": "^11.0.3",
"graphql": "^16.8.1",
"katex": "^0.16.22",
"lexical": "^0.34.0",
"lodash-es": "^4.17.21",
"lodash.isequal": "^4.5.0",
"lottie-react": "^2.4.0",
"mongodb": "6.9.0",
"next": "^14.2.13",
"nprogress": "^0.2.0",
"posthog-js": "^1.147.0",
"qrcode": "^1.5.3",
"quill": "^1.3.7",
"quill-emoji": "^0.2.0",
Expand All @@ -61,8 +77,10 @@
"rc-slider": "^10.5.0",
"react": "^18.3.1",
"react-datepicker": "^6.1.0",
"react-day-picker": "^9.9.0",
"react-dom": "^18.3.1",
"react-dropzone": "^14.2.3",
"react-error-boundary": "^6.0.0",
"react-hook-form": "^7.50.1",
"react-hot-toast": "^2.4.1",
"react-intl": "^6.6.6",
Expand All @@ -77,7 +95,9 @@
"thirdweb": "^5.88.7",
"unsplash-js": "^7.0.19",
"viem": "^2.23.5",
"wagmi": "^2.14.12"
"wagmi": "^2.14.12",
"y-websocket": "^3.0.0",
"yjs": "^13.6.27"
},
"devDependencies": {
"@babel/preset-typescript": "^7.23.3",
Expand All @@ -90,6 +110,7 @@
"@types/extract-files": "^13.0.1",
"@types/jest": "^29.5.12",
"@types/jest-axe": "^3.5.9",
"@types/lodash-es": "^4.17.12",
"@types/lodash.isequal": "^4.5.8",
"@types/node": "^20.11.20",
"@types/nprogress": "^0.2.3",
Expand Down
95 changes: 37 additions & 58 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import { Provider as ReduxProvider } from 'react-redux';
import { SpeedInsights } from '@vercel/speed-insights/next';
import { GoogleAnalytics } from '@next/third-parties/google';
import { loadErrorMessages, loadDevMessages } from '@apollo/client/dev';
import posthog from 'posthog-js';
import { PostHogProvider } from 'posthog-js/react';
import { WagmiProvider } from 'wagmi';
import { ThirdwebProvider } from 'thirdweb/react';
import { projectId, wagmiConfig } from '@/wagmiConfigs';
Expand Down Expand Up @@ -67,19 +65,6 @@ export const IntlMessages = {

const defaultLocale = process.env.defaultLocale;

// Check that PostHog is client-side (used to handle Next.js SSR)
if (typeof window !== 'undefined' && isProduction) {
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY || '', {
api_host:
process.env.NEXT_PUBLIC_POSTHOG_HOST || 'https://us.i.posthog.com',
person_profiles: 'identified_only',
// Enable debug mode in development
loaded: posthog => {
if (process.env.NODE_ENV === 'development') posthog.debug();
},
});
}

const RenderComponent = ({ Component, pageProps }: any) => {
useSafeAutoConnect();
return <Component {...pageProps} />;
Expand Down Expand Up @@ -140,9 +125,6 @@ function MyApp({ Component, pageProps }: AppProps) {
},
);
}

// Track page views => Posthog
posthog?.capture('$pageview');
};
const handleChangeError = () => {
NProgress.done();
Expand Down Expand Up @@ -208,40 +190,38 @@ function MyApp({ Component, pageProps }: AppProps) {
<ThirdwebProvider>
<QueryClientProvider client={queryClient}>
<GeneralWalletProvider>
<PostHogProvider client={posthog}>
{isMaintenanceMode ? (
<MaintenanceIndex />
) : (
<>
<NotificationController />
<GeneralController />
<SubgraphController />
<UserController />
<HeaderWrapper />
{isGIVeconomyRoute(
router.route,
) && <GIVeconomyTab />}
{(pageProps as any)
.errorStatus ? (
<ErrorsIndex
statusCode={
(
pageProps as any
)
.errorStatus
}
/>
) : (
<RenderComponent
Component={
Component
}
pageProps={
pageProps
}
/>
)}
{/* {process.env.NEXT_PUBLIC_ENV !==
{isMaintenanceMode ? (
<MaintenanceIndex />
) : (
<>
<NotificationController />
<GeneralController />
<SubgraphController />
<UserController />
<HeaderWrapper />
{isGIVeconomyRoute(
router.route,
) && <GIVeconomyTab />}
{(pageProps as any)
.errorStatus ? (
<ErrorsIndex
statusCode={
(
pageProps as any
).errorStatus
}
/>
) : (
<RenderComponent
Component={
Component
}
pageProps={
pageProps
}
/>
)}
{/* {process.env.NEXT_PUBLIC_ENV !==
'production' && (
<Script
id='console-script'
Expand All @@ -252,12 +232,11 @@ function MyApp({ Component, pageProps }: AppProps) {
/>
)} */}

<FooterWrapper />
<ModalController />
<PfpController />
</>
)}
</PostHogProvider>
<FooterWrapper />
<ModalController />
<PfpController />
</>
)}
</GeneralWalletProvider>
</QueryClientProvider>
</ThirdwebProvider>
Expand Down
Binary file added public/images/rich-text-lexical/cat-typing.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/rich-text-lexical/emoji/1F600.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/rich-text-lexical/emoji/1F641.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/rich-text-lexical/emoji/1F642.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/rich-text-lexical/emoji/2764.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/images/rich-text-lexical/emoji/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
OpenMoji
https://openmoji.org

Licensed under Attribution-ShareAlike 4.0 International
https://creativecommons.org/licenses/by-sa/4.0/
3 changes: 3 additions & 0 deletions public/images/rich-text-lexical/icons/3-columns.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/images/rich-text-lexical/icons/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bootstrap Icons
https://icons.getbootstrap.com

Licensed under MIT license
https://github.com/twbs/icons/blob/main/LICENSE.md
3 changes: 3 additions & 0 deletions public/images/rich-text-lexical/icons/add-sign.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/arrow-clockwise.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/bg-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/images/rich-text-lexical/icons/calendar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/camera.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/card-checklist.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/caret-right-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/chat-left-text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/chat-right-dots.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/chat-right-text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/chat-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/chevron-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/clipboard.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/code.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/comments.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/copy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/diagram-2.svg
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/download.svg
1 change: 1 addition & 0 deletions public/images/rich-text-lexical/icons/dropdown-more.svg
Loading