Ag-Grid: "paste from clipboard" not working in Firefox

Viewed 234

I'm struggling to make sense of the Clipboard feature of Ag-Grid. Currently, when trying to use it in Firefox (via any of the examples on the linked page), I'm getting the same error:

Uncaught TypeError: navigator.clipboard.readText is not a function
    pasteFromClipboard https://www.ag-grid.com/archive/25.0.0/dev/@ag-grid-enterprise/all-modules/dist/ag-grid-enterprise.js:80812
    onCtrlAndV https://www.ag-grid.com/archive/25.0.0/dev/@ag-grid-enterprise/all-modules/dist/ag-grid-enterprise.js:31893
    doGridOperations https://www.ag-grid.com/archive/25.0.0/dev/@ag-grid-enterprise/all-modules/dist/ag-grid-enterprise.js:31758
    processKeyboardEvent https://www.ag-grid.com/archive/25.0.0/dev/@ag-grid-enterprise/all-modules/dist/ag-grid-enterprise.js:31720

According to MDN, this method is indeed unavailable to the ordinary pages in Firefox - only to the extensions. Is there any known workaround for this issue?

0 Answers
Related