New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svg.js : copy paste svg elements #53

amitguptagwl opened this Issue Jun 22, 2018 · 3 comments


None yet
2 participants

amitguptagwl commented Jun 22, 2018

Starting point:

While annotating the images sometimes you may need to copy almost similar element on the same image or across the images. It'll be more handy when we can just copy paste svg elements (workarea.tag.html). So that the user's effort and time can be saved.

Check technical documentation.


This comment has been minimized.


amitguptagwl commented Jul 7, 2018

check commented code in workarea.tag.html

} else if (e.key === 'c' && e.ctrlKey) {
    copiedElements = [];
    //loop through selectedElements and copy all the shapes in copiedElements
}else if (e.key === 'v' && e.ctrlKey) {
    //loop through copiedElements and push new shapes in currently selected image
    //use the new IDs : shapetype + shapeIndex, shapetype + shapeIndex + point + pointIndex

This comment has been minimized.


alextychan commented Sep 14, 2018

Hi, I would like to take up this issue.


This comment has been minimized.


amitguptagwl commented Sep 15, 2018

Sure @alextychan . Let me know if you need guidance.

amitguptagwl added a commit that referenced this issue Sep 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment