It seems that in the new Page Builder doesn't support adding links to images anymore.
In the old editor, you could paint a picture inside the WYSIWYG editor, click the Link icon, and add a URL to the image. This way, the Image object comes to the frontend with "linkTo" attribute with it.
In the new Page Builder, you can add a link to a text inside WYSIWYG by painting the text and clicking Link button from the pop up:
Thank you for clarifying, you're correct I did misunderstand.
It's not currently available in the the new page builder's rich text field, I've made the team aware of this loss of function. They've added it to their backlog, but it's not in their immediate roadmap.
When they have any updates regarding this they'll update you here.
This is a fundamental blocker for our marketing team, adding links (or changing links) on images is very common practice. Can you give us a better understanding why it's not an immediate priority? We're forced to rollback to the Legacy editor, which is disruptive to the team and erodes confidence in the CMS. Can this topic be marked unsolved until a fix is deployed?
Yes true this is an option, but for us it's not intuitive enough to expect our team to do this (or know to do it).
Considering Page Builder is now the default for new repositories, surely ironing these basic WYSIWYG issues out is an immediate priority for the platform.
Just to add, I love the new Page Builder and think it's a great step for Prismic, I fear these issues will end up holding it back from adoption by editors.
I suppose until your required feature parity is reached, you can request being reverted to legacy. I understand your position entirely though. I'm fortunate enough to be a team of one haha!
This is on the roadmap for the team to implement before the full switchover.
The date of June 21st indicates when you won't be able to switch back to the legacy editor if you are already on the new builder. The full switchover will come after that when we have resolved all outstanding issues like this one.