File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Next, you'll need to import the Email Editor component to your app.
4242 <button v-on:click =" exportHtml" >Export HTML</button >
4343 </div >
4444
45- <EmailEditor ref =" editor " v-on:load =" editorLoaded" />
45+ <EmailEditor ref =" emailEditor " v-on:load =" editorLoaded" />
4646 </div >
4747 </div >
4848</template >
@@ -57,17 +57,17 @@ Next, you'll need to import the Email Editor component to your app.
5757 },
5858 methods: {
5959 editorLoaded () {
60- this .$refs .editor .loadDesign ({});
60+ this .$refs .emailEditor . editor .loadDesign ({});
6161 },
6262 saveDesign () {
63- this .$refs .editor .saveDesign (
63+ this .$refs .emailEditor . editor .saveDesign (
6464 (design ) => {
6565 console .log (' saveDesign' , design);
6666 }
6767 )
6868 },
6969 exportHtml () {
70- this .$refs .editor .exportHtml (
70+ this .$refs .emailEditor . editor .exportHtml (
7171 (data ) => {
7272 console .log (' exportHtml' , data);
7373 }
You can’t perform that action at this time.
0 commit comments