Primary Selection Buffer

We are using Codemirror to edit primarily json and I am the main developer of the internal editor where we use Codemirror. I had a request from an Linux user if we could add X window primary selection buffer functionality in the editor. I can see that in version 2.25 there was a fix for Chrome (http://codemirror.net/doc/releases.html#v2), but I cannot find the documentation of this feature. Is X window primary selection buffer functionality possible in Codemirror?

It should work in Chrome. Firefox doesn’t provide the events needed to do this, so there it doesn’t work.

Thanks :slight_smile: the developer immediately switched to Chrome…