Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 506 Vote(s) - 3.51 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding an external URL when clicking an image with the rich text editor of Sanity

#1
I'm trying to make possible for the people using the rich text editor in sanity.studio (with no coding knowledge) to add an external link in the image they are uploading. So, then it is clickable in the post they are adding and take the user to another page. Right now they are only able to add some ALT text and edit the picture. This is the code about the images in the blockContent.js:

{
type: 'image',
fields: [
{
type: 'text',
name: 'alt',
title: 'Alternative text',
description: `Some of your visitors cannot see images,
be they blind, color-blind, low-sighted;
alternative text is of great help for those
people that can rely on it to have a good idea of
what\'s on your page.`,
options: {
isHighlighted: true,
hotspot: true,
},
}
],
}
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through