Fork me on GitHub


A MediumEditor extension to embed an URL in your inline editor.

Creating a preview for a link in your MediumEditor is as easy as selecting an URL and clicking on the picture icon. Just try:

You can also select a random word and type the URL in the toolbar. M-Embed will create the preview at the bottom of your editor. Once the embed is created, you can choose one of the returned images or iFrame, or discard them altogether.

(The demo uses a predefined response object to bypass the API key requirement—whatever URL you select or type, you will get the same response here.)