Files
David Luzar a3fdf471ee feat(editor): support Instagram embeds (#12373)
* feat(editor): support Instagram embeds

Instagram post and reel links (/p/, /reel/, /reels/, /tv/, also
username-prefixed) embed via instagram.com/<type>/<code>/embed/.
Uncaptioned so the height only depends on the media; 400x720 fits
portrait posts and reels.

Pasting Instagram's embed code works too: its loader <script> sits on a
separate line, which made the paste fall back to text.

Claude Opus 5.5 (1M context), reasoning: xhigh

* fix(editor): match loose script end tags in embed code paste

Addresses CodeQL "Bad HTML filtering regexp".

Claude Opus 5.5 (1M context), reasoning: xhigh
2026-10-20 10:06:36 +02:00
..

@excalidraw/element

Install

npm install @excalidraw/element

If you prefer Yarn over npm, use this command to install the Excalidraw utils package:

yarn add @excalidraw/element

With PNPM, similarly install the package with this command:

pnpm add @excalidraw/element