+
+
{
+ if (e.target.value) {
+ onChange({
+ ...section,
+ illustration: {
+ image: { url: e.target.value, alt: section.illustration?.image.alt || '' },
+ position: 'left',
+ verticalAlign: 'center',
+ size: 'medium'
+ }
+ })
+ }
+ }}
+ placeholder="Illustration URL"
+ />
+
{
+ if (section.illustration?.image.url) {
+ onChange({
+ ...section,
+ illustration: {
+ ...section.illustration,
+ image: { ...section.illustration.image, alt: e.target.value }
+ }
+ })
+ }
+ }}
+ placeholder="Alt text"
+ />
+
onChange({
+ ...section,
+ illustration: {
+ image: { url, alt: section.illustration?.image.alt || '' },
+ position: 'left',
+ verticalAlign: 'center',
+ size: 'medium'
+ }
+ })}
+ buttonText="Upload Illustration"
+ />
+ {section.illustration?.image.url && (
+
+ )}
+
+
+
+
+
+
+
+
+
+
+