ls1intum / Apollon

UML Modeling Editor written in React
https://apollon-library.readthedocs.io
MIT License
65 stars 22 forks source link

Copy and paste Apollon UML Diagrams in Multiple Formats to clipboard #91

Closed TobiasPr closed 4 years ago

TobiasPr commented 4 years ago

Is your feature request related to a problem?

Currently its not possible to copy and paste a diagram from one application to another e.g. one browser window to another.

Describe the solution you'd like

"Copy" should copy a diagram representation in different formats to the clipboard so that it can be pasted to any application. Supported formats:

TobiasPr commented 4 years ago

Simple implementation is done -> copy json to clipboard write() (function to write arbitrary data to the clipboard) is not yet available in lib.dom.d.ts even though https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API