Copy/paste in contextmenu

Tags: #<Tag:0x00007f452feea180>

I try to realize a CP-functionality. This works:

 contextMenu: {
                items: {
                    "copy": {
                        name: function () {
                            return '📋 Cell content into clipboard';
                        callback: function (key, selection, clickEvent) {
                            const value = this.getDataAtCell(selection[0].start.row, selection[0].start.col);

But navigator.clipboard.readText() is not available in firefox.

Hi @Knoeterich

It returns an error on Chrome (I might be, however, missing something in the configuration).

Maybe, I have only tested on firefox, because we only use this browser. The pasting works with Ctrl V