Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Insert image from system clipboard #15

Closed
jdittrich opened this issue Oct 17, 2016 · 5 comments
Closed

Feature: Insert image from system clipboard #15

jdittrich opened this issue Oct 17, 2016 · 5 comments

Comments

@jdittrich
Copy link
Contributor

Story: As a user, I want to insert images to draw.io quickly.

It can be useful to be able to insert images from the clipboard to diagrams, e.g.:

  • I want to improve an existing diagram and want to insert the old version for reference and documentation purposes.
  • I want to create a mockup and want to reuse bits and pieces from a screenshot

Why clipboard?: All can be done via image import, but export to image and importing it again is most often more cumbersome than Ctrl+C, Ctrl+V

Match Google Docs/Confluence: (image-)insert from system clipboard functions are available in google docs and in confluence, so users may be used to it already.

@alderg
Copy link
Contributor

alderg commented Oct 17, 2016

Works in Chrome.

@alderg alderg closed this as completed Oct 17, 2016
@jdittrich
Copy link
Contributor Author

Thanks for the info. Any change we might be able to find a cross browser solution? Or are these still depended of flash and other workarounds (I did not dissect the google docs implementation so far)?

@alderg
Copy link
Contributor

alderg commented Oct 17, 2016

No workarounds or flash used. Just checked in FF and it throws an error. The code is here: https://github.com/jgraph/draw.io/blob/master/war/js/diagramly/EditorUi.js#L3539

@jdittrich
Copy link
Contributor Author

thanks, I hope I find the time to look at it.

@jdittrich
Copy link
Contributor Author

…It seems to be coming with Firefox 50; before FF seems not to support the used items-array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants