lionix-team / vue-image-markup

vue-image-markup will provide you to edit uploaded image easily and save it.
https://image-markup.lionix-team.com
96 stars 44 forks source link

Delete elements on Mobile #12

Closed bradley-varol closed 4 years ago

bradley-varol commented 4 years ago

I'd like to use this package to annotate images on mobile and tablet but noticed that you can't delete shapes, text, etc on mobile. It would be great if there was a context menu on-hold on mobile.

Thoughts?

Thanks a lot for this great package.

slbedwell commented 4 years ago

In addition to this, it would be great if there was a way to just delete a certain line / shape on a desktop too as the deletion just clears the whole area.

Or failing that, perhaps an eraser?

bradley-varol commented 4 years ago

In addition to this, it would be great if there was a way to just delete a certain line / shape on a desktop too as the deletion just clears the whole area.

Or failing that, perhaps an eraser?

You can select an element and press the delete key but an eraser that deletes elements on collision would be great.

lilitsimonyan98 commented 4 years ago

Hi, You can delete shapes from editor using eraser mode ,using this.$refs.editor.set('eraser') method. Please update the version to latest. Thanks.