plane/web/components/pages
M. Palanikannan e01ca97fc9 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-12-07 19:59:35 +05:30
..
pages-list chore: revamp the API tokens workflow (#2880) 2023-12-07 19:59:35 +05:30
create-block.tsx feat: event tracking using posthog and created application provider to render multiple wrappers (#2757) 2023-12-07 19:59:35 +05:30
create-update-block-inline.tsx fix: Image restoration fixed (marks/unmarks an image to be deleted after a week) (#2859) 2023-12-07 19:59:35 +05:30
create-update-page-modal.tsx fix: complete pages editor not clickable, recent pages calculation logic (#2820) 2023-12-07 19:59:35 +05:30
delete-page-modal.tsx feat: New Pages with Enhanced Document Editor Packages made over Editor Core 📝 (#2784) 2023-12-07 19:59:35 +05:30
index.ts feat: New Pages with Enhanced Document Editor Packages made over Editor Core 📝 (#2784) 2023-12-07 19:59:35 +05:30
page-form.tsx fix: complete pages editor not clickable, recent pages calculation logic (#2820) 2023-12-07 19:59:35 +05:30