Minor fixes throughout the system.

This commit is contained in:
Patrick Fic
2020-08-17 13:47:10 -07:00
parent 5efb21ada7
commit 9b9feffdfa
20 changed files with 2292 additions and 141 deletions

View File

@@ -46,7 +46,17 @@ export default function ShopTemplateEditorComponent({
/>
<button onClick={exportJson}>json</button>
<button onClick={exportHtml}>html</button>
<EmailEditor ref={emailEditorRef} />
<EmailEditor
ref={emailEditorRef}
options={{
customJS: [
window.location.protocol +
"//" +
window.location.host +
"/editor.js",
],
}}
/>
QUERY
<Input.TextArea
value={editorContent.gql}