nhn / toast-ui.vue-image-editor

Toast UI Image Editor for Vue
MIT License
186 stars 41 forks source link

Enable Download Feature #31

Closed ryuckel closed 4 years ago

ryuckel commented 4 years ago

Version

"@toast-ui/vue-image-editor": "^1.0.2"

Development Environment

macOS/chrome

Current Behavior

when i push Download Button, image displays other tab. After added file-saver by yarn add command and import this module to component using tui-image-editor, I can download image to local as I expected.

Is it correct way to enable download feature? If my understanding is not right, please give me a procedure of import file-saver

ryuckel commented 4 years ago

I got it require file-saver or implement window.saveAs method from below issue. https://github.com/nhn/tui.image-editor/issues/318 I will close this issue. Thank you.