File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 4444 <Actions v-else-if =" icon.class === 'icon-image'"
4545 :key =" icon.label"
4646 ref =" imageActions"
47- :default-icon =" 'icon-image'" >
47+ :default-icon =" 'icon-image'"
48+ @close =" onImageActionClose" >
4849 <button slot =" icon"
4950 :class =" { 'icon-image': true, 'loading-small': uploadingImage }"
5051 :title =" icon.label"
@@ -337,6 +338,9 @@ export default {
337338 const lastValue = Object .prototype .hasOwnProperty .call (this .submenuVisibility , icon .label ) ? this .submenuVisibility [icon .label ] : false
338339 this .$set (this .submenuVisibility , icon .label , ! lastValue)
339340 },
341+ onImageActionClose () {
342+ this .showImageLinkPrompt = false
343+ },
340344 onUploadImage (command ) {
341345 this .imageCommand = command
342346 this .$refs .imageFileInput .click ()
You can’t perform that action at this time.
0 commit comments