Skip to content

Commit

Permalink
fix(dialog): 🐛 nested dialog
Browse files Browse the repository at this point in the history
fix #22
  • Loading branch information
Leecason committed Mar 22, 2020
1 parent aa92558 commit bd83b9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/MenuCommands/ImageCommandButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<el-dialog
:title="t('editor.extensions.Image.control.upload_image.title')"
:visible.sync="imageUploadDialogVisible"
:append-to-body="true"
>
<el-upload
:http-request="uploadImage"
Expand Down
1 change: 1 addition & 0 deletions src/components/MenuCommands/PreviewCommandButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
:title="t('editor.extensions.Preview.dialog.title')"
:visible.sync="previewDialogVisible"
:width="contentWidth"
:append-to-body="true"
>
<div class="el-tiptap-editor__content">
<div v-html="html"></div>
Expand Down

0 comments on commit bd83b9c

Please sign in to comment.