template editor
This commit is contained in:
parent
0e430d1c9d
commit
467dfd8c1b
7 changed files with 208 additions and 2 deletions
28
src/helpers/unlayerEditor.ts
Normal file
28
src/helpers/unlayerEditor.ts
Normal file
|
@ -0,0 +1,28 @@
|
|||
import type { EmailEditorProps } from "vue-email-editor/dist/components/types";
|
||||
|
||||
export const options: EmailEditorProps["options"] = {
|
||||
tools: {
|
||||
image: {
|
||||
enabled: false,
|
||||
},
|
||||
menu: {
|
||||
enabled: false,
|
||||
},
|
||||
button: {
|
||||
enabled: false,
|
||||
},
|
||||
},
|
||||
displayMode: "document",
|
||||
appearance: {
|
||||
theme: "light",
|
||||
panels: {
|
||||
tools: {
|
||||
dock: "left",
|
||||
},
|
||||
},
|
||||
},
|
||||
features: {
|
||||
preview: false,
|
||||
},
|
||||
customJS: [window.location.origin + "/unlayerTool.js"],
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue