You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User Story
As a user I want to be able to copy text from all over Platform.
As an extension developer I want to be able to add menu actions that would copy certain text.
Description
Implement/enable CTRL+C, CTRL+X, CTRL+V all over the Platform.
Give extension developers access at least to writing to the clipboard (probably also reading from it)
Writing/reading from/to the clipboard should already be possible in the renderer process (frontend) - the editor does it. The electron main process (node js backend) however does not have access to the keyboard. Importing methods fails, because imports are restricted to papi.
import { clipboard } from 'electron'
Error: Requiring other than papi is not allowed in extensions! Rejected require('fs'). Try using papi.storage or bundling the module into your code with a build tool like webpack
import clipboard from 'clipboardy'
Error: Requiring other than papi is not allowed in extensions! Rejected require('node:process'). Try bundling the module into your code with a build tool like webpack
Implementation idea
Testing ideas
The text was updated successfully, but these errors were encountered:
User Story
As a user I want to be able to copy text from all over Platform.
As an extension developer I want to be able to add menu actions that would copy certain text.
Description
Writing/reading from/to the clipboard should already be possible in the renderer process (frontend) - the editor does it. The electron main process (node js backend) however does not have access to the keyboard. Importing methods fails, because imports are restricted to papi.
import { clipboard } from 'electron'
import clipboard from 'clipboardy'
Implementation idea
Testing ideas
The text was updated successfully, but these errors were encountered: