Skip to main content
Drupal is a registered trademark of Dries Buytaert
EOL Warning: Drupal 11.0 has reached end of life and no longer receives security updates. Release: Private content 3.1.0 Minor update available for module private_content (3.1.0). Release: Webform Analysis 2.0.0 Major update available for module webform_analysis (2.0.0). Usage Milestone: Focal Point Module focal_point crossed 1,000 active installs. Release: Opensolr Search 4.3.1 Minor update available for module opensolr_search (4.3.1). Release: Opensolr Search 4.3.0 Minor update available for module opensolr_search (4.3.0). Release: Palette🎨 1.0.3 Minor update available for module canvas_palette (1.0.3). Release: Opensolr Search 4.2.4 Minor update available for module opensolr_search (4.2.4). Release: Changelogify 1.8.0 Minor update available for module changelogify (1.8.0). Release: Opensolr Search 4.2.3 Minor update available for module opensolr_search (4.2.3).

Instagram Embed

6 sites No security coverage Drupal 10–11
View on drupal.org

This module allows users to easily embed Instagram posts, reels, and IGTV videos directly into CKEditor 5 content. It provides a toolbar button and a simple form for inserting URLs, and uses Instagram's native embed functionality without requiring any API keys or external services. The embeds are stored as lightweight placeholders and converted to standard blocks on render for security.

Description

Embeds Instagram posts, reels, and IGTV videos inside CKEditor 5 content via a native toolbar button and balloon form. No build step, no external proxy, no API key required.

Features

  • Adds an Instagram Post button to the CKEditor 5 toolbar.
  • Balloon form accepts an Instagram URL (post, reel, or TV) and validates it before inserting.
  • Optional background color toggle (configurable per embed).
  • Stores a lightweight placeholder in the database; a text filter converts it to the standard Instagram embed blockquote on render.
  • Strict server-side URL validation prevents XSS. No user-controlled markup or JavaScript is emitted.
  • Uses Instagram's native embed.js directly — no external proxy service dependency.
  • No build step: uses the CKEditor 5 DLL-compatible plugin format.

Installation & Configuration

  1. Install via Composer: composer require drupal/instagram_embed
  2. Enable: drush en instagram_embed
  3. Go to Configuration → Content authoring → Text formats and editors, edit the desired format (e.g. Full HTML):
    • Drag the Instagram Post button into the CKEditor 5 toolbar.
    • Enable the Instagram Embed filter.
  4. Save the format.

Additional Requirements

Drupal 10.3+ or 11. Only core modules required: filter and ckeditor5.

Similar projects

Ckeditor Instagram Embed — CKEditor 4 only, no stable release, appears unmaintained since 2024.

CKEditor Media Embed Plugin — generic oEmbed via external Iframely proxy; not Instagram-specific.

This module is a lightweight, zero-dependency alternative focused solely on Instagram with native CKEditor 5 support and per-embed background styling.

Depends on

Dependencies of the latest stable release

  • filter Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Apr 2026
Latest release
2 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.2 Stable 10–11 Jun 17, 2026
1.0.1 Stable 10–11 Apr 21, 2026
1.0.0 Stable 10–11 Apr 16, 2026