registerDocumentPasteEditProvider
Registers a new {@linkcode DocumentPasteEditProvider}.
Multiple providers can be registered for a language. All registered providers for a language will be invoked for copy and paste operations based on their handled mimetypes as specified by the {@linkcode DocumentPasteProviderMetadata}.
For copy operations}, changes to the {@linkcode DataTransfer made by each provider will be merged into a single {@linkcode DataTransfer} that is used to populate the clipboard.
For DocumentPasteEditProvider.providerDocumentPasteEdits, each provider will be invoked and can return one or more {@linkcode DocumentPasteEdit DocumentPasteEdits}. The edits are sorted using the {@linkcode DocumentPasteEdit.yieldTo} property. By default the first edit will be applied and the rest of the edits will be shown to the user as selectable paste options in the paste widget.
Parameters
A selector that defines the documents this provider applies to.
A paste editor provider.
Additional metadata about the provider.