This repository has been archived by the owner on May 19, 2020. It is now read-only.
Handle Duplicate clauseId from Copy/Paste #88
Labels
Difficulty: Challenging
Help Wanted 🆘
Extra attention is needed
Type: Feature Request 🛍️
New feature or request
Milestone
Linked Isues:
- CUI 134
- TSv2 82
Is your feature request related to a problem? Please describe.
Currently, a
uuidv4
is assigned to each clause template added into the markdown of the contract. Copying and pasting should recognize that as already existing and create a newuuidv4
Describe the solution you'd like
When a clause template is pasted, TSv2 should check to see if a clause template exists in the pasted text. If so, check if that clause template is already in the contract. If so, assign a new
uuidv4
to this clause template.Describe alternatives you've considered
A good starting point should be
SlateJS
'sonPaste
pluginAlready in the code here
Additional context
N/A
The text was updated successfully, but these errors were encountered: