How can I automatically embed google docs/google presentation like

I currently use a plugin to do this, but I noticed on, the embeds are automatically transformed into shortcodes in the HTML view when the author click “save draft” . This is much simpler than having to use shortcodes. I would like to replicate this for my self hosted blog to avoid having users get confused.