Hi,
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);
navigator.clipboard.writeText(value)
}
},
But navigator.clipboard.readText() is not available in firefox.