Microsoft/monaco-editor
Ver no GitHubPaste menu item doesn't work in sandboxed item
Open
#2.264 aberto em 14 de dez. de 2020
feature-requesthelp wantedintegration
Métricas do repositório
- Stars
- (14.836 stars)
- Métricas de merge de PR
- (Mesclagem média 6h 26m) (15 fundiu PRs em 30d)
Description
We use monaco editor in an iframe sandbox that doesn't permit the navigation.clipboard API. (We don't own the parent frame).
So the ctrl + V paste option work but the Paste option in the context menu doesn't work because the frame doesn't allow it.
Is it possible to change the implementation of the paste menu context item so it'll work like the ctrl + v shortcut?
Paste menu item:

Sandbox: