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
This issue is not a bug report. (please use a different template for reporting a bug)
This issue is not a duplicate of an existing issue. (please use the search to find existing issues)
Description
We didn't find a way to handle paste event, I mean different from an input event.
Depending on the source, special characters appear sometimes when pasting, and we would be able to clean them (and f it is therefore possible to capture this particular event, it would be less expensive than applying them to each onChange triggered)
This discussion was converted from issue #3026 on March 10, 2023 15:12.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Context
Description
We didn't find a way to handle
paste event
, I mean different from an input event.Depending on the source, special characters appear sometimes when pasting, and we would be able to clean them (and f it is therefore possible to capture this particular event, it would be less expensive than applying them to each
onChange
triggered)Issue was rejected by react-monaco team (react-monaco-editor/react-monaco-editor#519)
Beta Was this translation helpful? Give feedback.
All reactions