Pasting in alt text removes the whole image

Hello. When pasting in alternative text into an image in a rich text field, it replaces the entire image with the pasted text.

Any known workarounds to this?

Technical thought: Could be a bug... because when the alt text input is selected, the interface has the entire image in focus, rather than focus inside the input. So presumably, the editors copy-paste command is replacing the element that has focus, the whole image, rather than the inside that element.

1 Like

Hi @murray, thanks for reporting this. This definitely seems like a bug. I will submit a ticket with our @Prismic-Dev-Team and someone there will look into this as soon as they are able.

They will reach out here when they have something to report back.

2 Likes

This thread is being monitored as an open ticket in the issue tracker. We will update this post as we get more information. If you have a similar use-case, you can ‘Flag’ this topic to reopen.

This is a known issue being tracked here (We also provide a workaround there):

If we have any update on this we'll update you in that thread.

Thanks.