Delete image #3017
-
Hi, I want to delete an image node added with extension-image, but i don't know how do it. Is there a way to do this, either via the TipTap API or via the Prosemirror node ? Thx in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hi, Regards |
Beta Was this translation helpful? Give feedback.
-
I had a use case for deleting the selected image. I used |
Beta Was this translation helpful? Give feedback.
I had a use case for deleting the selected image. I used
editor.commands.deleteSelection()
for the same.