plane/web/components/pages
M. Palanikannan 6607caade7
fix: Image restoration fixed (marks/unmarks an image to be deleted after a week) (#2859)
* image restoration fixed (marks an image to be deleted after a week)

* removed clgs

* added image constraints

* formatted editor-core package using yarn format

* lite-text-editor nothing to format

* rich-text-editor nothing to format

* formatted document-editor with prettier

* modified file service to follow api change

* fixed more formatting in document editor

* fixed all instances of types with that from the package

* fixed delete to work consistently (minor optimizations turned off)

* stop duplicate images inside editor

* restore image on editor creation

say if user A deletes image number 2, user B was also in the same issue and in their screen the image was there, if user B makes certain changes and that gets saved in backend, according to user B image 2 should exist but since user A deleted it, it'll not get restored and get deleted in 7 days, hence I've added a check such that whenever a issue loads we restore all images by default

* added restore image function with types

* replaced all instances to have restore image logic

* fixed issue detail for peek view

* disabled option to insert table inside a table
2023-11-28 11:34:20 +05:30
..
pages-list chore: revamp the API tokens workflow (#2880) 2023-11-27 12:14:06 +05:30
create-block.tsx feat: event tracking using posthog and created application provider to render multiple wrappers (#2757) 2023-11-20 13:29:54 +05:30
create-update-block-inline.tsx fix: Image restoration fixed (marks/unmarks an image to be deleted after a week) (#2859) 2023-11-28 11:34:20 +05:30
create-update-page-modal.tsx fix: complete pages editor not clickable, recent pages calculation logic (#2820) 2023-11-21 15:47:34 +05:30
delete-page-modal.tsx feat: New Pages with Enhanced Document Editor Packages made over Editor Core 📝 (#2784) 2023-11-20 21:31:12 +05:30
index.ts feat: New Pages with Enhanced Document Editor Packages made over Editor Core 📝 (#2784) 2023-11-20 21:31:12 +05:30
page-form.tsx fix: complete pages editor not clickable, recent pages calculation logic (#2820) 2023-11-21 15:47:34 +05:30