Add image component for editor (#57)
* Add image component * More image editor * add more image changes
This commit is contained in:
@@ -655,6 +655,9 @@ export class EmailRenderer {
|
||||
height = "auto",
|
||||
alignment = "center",
|
||||
externalLink = "",
|
||||
borderRadius,
|
||||
borderColor,
|
||||
borderWidth,
|
||||
} = attrs || {};
|
||||
|
||||
const { next } = options || {};
|
||||
@@ -669,8 +672,11 @@ export class EmailRenderer {
|
||||
width,
|
||||
maxWidth: "100%",
|
||||
outline: "none",
|
||||
border: "none",
|
||||
textDecoration: "none",
|
||||
borderStyle: "solid",
|
||||
borderRadius: `${borderRadius}px`,
|
||||
borderColor,
|
||||
borderWidth: `${borderWidth}px`,
|
||||
}}
|
||||
title={title || alt || "Image"}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user