Like we have adding image in the rich text body, can we add functionality t

Like we have adding image in the rich text body, can we add functionality to embed documents aswell? Can someone guide me on how to proceed?