-
Notifications
You must be signed in to change notification settings - Fork 788
Custom block from own server #97
Copy link
Copy link
Closed
Description
Hi, I would like to know how to implement custom blocks on component initialization. Let's say I want to load a header and footer that I have stored somewhere locally.
<EmailEditor
ref={editor => (this.editor = editor)}
onLoad={this.onLoad}
onDesignLoad={this.onDesignLoad}
options={{
appearance: { theme: "dark" },
blocks: [
{
/* HEADER BLOCK */
},
{
/* FOOTER BLOCK */
}
],
mergeTags: [
{ name: "Salutation", value: "{{salutation}}" },
{ name: "First Name", value: "{{first_name}}" },
{ name: "Last Name", value: "{{last_name}}" }
]
}}
/>
Is this possible to accomplish? There is not a lot of explanation on official docs regarding this. Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels