Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Copy/Paste events propagating out of canvas

$
0
0

@ksquibbs wrote:

I want to manage copy and paste events outside of the goJS diagram in my application. I have requirements to be able to copy and paste between browsers and from outside applications. I have a solution for how to do this in other parts of the application, but as soon as I’m focused on the canvas, none of the native copy/paste event listeners are being fired. I’m adding event listeners to the document for copy and paste, and I especially need the paste event to be fired so that I have access to the os’s clipboard data at that time.

I know goJS doesn’t use the os’s clipboard and there are solutions provided to use local storage instead of the in-memory global variable, but local storage won’t work for my needs. Is there a way to allow the native browser events for copy and paste to bubble up from the canvas?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles