Commit Graph

10 Commits

Author SHA1 Message Date
Michael Jumper
70aec4c668 GUACAMOLE-82: Move back to textarea for clipboard for sake of stability (partially reverts GUACAMOLE-55). 2016-08-20 19:30:47 -07:00
Michael Jumper
0679c10187 GUACAMOLE-55: Move local clipboad sync logic back into clientController. Keep the guacClipboard directive lean and with a single purpose. 2016-06-29 18:46:27 -07:00
Michael Jumper
2471cece7f GUACAMOLE-55: Use own getTextContent() rather than element.textContent, as the textContent property does not preserve line breaks due to block level elements. 2016-06-29 12:57:00 -07:00
Michael Jumper
6e1bbb3cf4 GUACAMOLE-55: Remove unneeded reference to document. 2016-06-28 20:44:24 -07:00
Michael Jumper
da098c42e1 GUACAMOLE-55: Use the files collection if the clipboard data does not define an items collection. 2016-06-28 17:25:22 -07:00
Michael Jumper
f289be05b2 GUACAMOLE-55: Attempt to set local clipboard with received data. 2016-06-28 14:50:16 -07:00
Michael Jumper
16637b0732 GUACAMOLE-55: Prevent clipboard events generated by the clipboardService from disturbing the operations of the guacClipboard directive. 2016-06-28 14:00:53 -07:00
Michael Jumper
ea5ee1825b GUACAMOLE-55: Update clipboardService to support non-text contents. 2016-06-28 13:51:24 -07:00
Michael Jumper
6e4e6454f7 GUACAMOLE-55: Switch to a content-editable div for the clipboard (rather than a textarea). 2016-06-28 11:49:29 -07:00
Michael Jumper
8c5446127b GUACAMOLE-55: Move clipboard handling to own module. Represent clipboard contents with ClipboardData type. 2016-06-26 20:44:56 -07:00