-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hello,
I was just wondering if the basic example could be extended in the future? I don't understand the basic examples for link and image, as the link has just a decorated underline and the image has just a hardcoded src of 'https://example.com/image.jpg'. How would one modify this example to let the user choose the href value for a link, and then be able to modify it later on? By the way, I found a way to choose a href by using the editor hook, but I don't know how to modify it (just add and remove). As for the image, how can one add an image, either from uploading from the computer, perhaps referencing an image from Sanity, or with an URL? Also, I would have liked to (have the option to) group some of the icons, like having the decorators and the styles in arrays.