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 DocumentPasteProviderMetadata.
For DocumentPasteEditProvider.providerDocumentPasteEdits paste operations, each provider will be invoked
and can return one or more DocumentPasteEdits. The edits are sorted using
the 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.
Registers a new
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
DocumentPasteProviderMetadata.For copy operations, changes to the
DataTransfermade by each provider will be merged into a singleDataTransferthat is used to populate the clipboard.For DocumentPasteEditProvider.providerDocumentPasteEdits paste operations, each provider will be invoked and can return one or more
DocumentPasteEdits. The edits are sorted using theDocumentPasteEdit.yieldToproperty. 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.