Skip to main content

Twitter Plugin

This page focuses on implementing the Twitter plugin and the code you need to embed tweets into your editor. You can check out the CodeSandbox directly or view, edit and try out the code in real-time inside the embed.

To use, enter the URL of the relevant tweet, and it will get embedded into the editor. You will not see any additional embeds if the URL is wrong or doesn't exist.

The example here is very simplified, so you can create your own logic for handling wrong URLs or canceling the embedding. The size of the embed is also adjustable.