Prevent deleting actual content from document when replacing/deleting inside existing...
commit741161177710552e22e4be24a90f9bc129c408b6
authorAman Harwara <aman.harwara@proton.ch>
Thu, 14 Nov 2024 18:27:14 +0000 (14 18:27 +0000)
committerMargeBot <service_account_32425739d193d4576ca09ebf2d772104@noreply.gitlab.protontech.ch>
Thu, 14 Nov 2024 18:27:14 +0000 (14 18:27 +0000)
tree7a99973507753a552f781f5ab3a625bac7a0e9bb
parentbf43477da7e63715b1c7361d5206684ff079f1a2
Prevent deleting actual content from document when replacing/deleting inside existing suggestion unless it is insert
applications/docs-editor/src/app/Plugins/Suggestions/Utils.ts
applications/docs-editor/src/app/Plugins/Suggestions/handleBeforeInputEvent.spec.tsx
applications/docs-editor/src/app/Plugins/Suggestions/handleBeforeInputEvent.ts