The default implementation of the paste command.
Parameters
editor
:
editor
An instance of the editor where the command is being executed.
data
:
Object | String
If data
is a string, then it is considered content that is being pasted.
Otherwise it is treated as an object with options.