Skip to content

editor paste event result return ClipboardEvent #192729

@deyihu

Description

@deyihu
  • Trigger the paste event regardless of whether the content in the pasteboard is text or not
  • IPasteEvent Contains native ClipboardEvent attributes
  • Always trigger the paste event
  • Users can access the content of the pasting board for any operation
   this.editor.onDidPaste((e) => {
            console.log(e.clipboardEvent);
           //do some things ,such as upload files from clipboardEvent
        });

Metadata

Metadata

Assignees

Labels

author-verification-requestedIssues potentially verifiable by issue authorfeature-requestRequest for new features or functionalityupstream-issue-linkedThis is an upstream issue that has been reported upstreamverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions