Drupal is a registered trademark of Dries Buytaert
Drupal 11.4.3 Update released for Drupal core (11.4.3)! Views Bulk Operations (VBO) 4.4.6 Minor update available for module views_bulk_operations (4.4.6). External Authentication 2.0.12 Minor update available for module externalauth (2.0.12). No Request New Password 8.x-1.6 Minor update available for module noreqnewpass (8.x-1.6). Entityqueue 8.x-1.12 Minor update available for module entityqueue (8.x-1.12). Google Programmable Search Engine 5.0.5 Minor update available for module google_cse (5.0.5). Similar By Terms 2.0.0 Major update available for module similarterms (2.0.0). AI RAG Search Chat 1.0.7 Minor update available for module ai_rag_search_chat (1.0.7). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs. Devel PHP 2.0.1 Module devel_php updated after 6 months of inactivity (2.0.1).

Telegram Embed

1 sites No security coverage
View on drupal.org

This module allows users to embed Telegram posts directly into their Drupal content using a CKEditor 5 toolbar button. It stores a safe placeholder and converts it to a live Telegram widget when the page is viewed, ensuring security with server-side validation.

Embeds Telegram posts inside CKEditor 5 content via a native toolbar button and balloon form. Stores a lightweight placeholder in the database and converts it to the live Telegram widget on render. Strict server-side validation prevents XSS.

Features

  • Adds a Telegram Post button to the CKEditor 5 toolbar.
  • Balloon form accepts a Telegram post URL (e.g. https://t.me/channel/123) and validates it before inserting.
  • Stores an escape-safe placeholder in the database.
  • A text filter converts placeholders to the live Telegram widget on render.
  • Strict server-side validation: data-tg-post must match channel/postid; anything else is discarded.
  • The widget script is loaded only on pages that contain an embed.

Post-Installation

  1. Go to Configuration > Content authoring > Text formats and editors.
  2. Edit the text format you want to support Telegram embeds (e.g. Full HTML).
  3. Drag the Telegram Post button into the CKEditor 5 toolbar.
  4. Enable the Telegram Embed filter in the Enabled filters section.
  5. Save the format.

Additional Requirements

Drupal 10.3+ or 11. Requires filter (core) and ckeditor5 (core). No contrib dependencies.

Similar projects

This module focuses specifically on Telegram post embeds with a CKEditor 5 toolbar integration. Other social embed modules may cover multiple platforms but typically lack native CKEditor 5 toolbar buttons.

Activity

Total releases
4
First release
Apr 2026
Latest release
3 weeks ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.3 Stable Jun 17, 2026
1.0.2 Stable May 14, 2026
1.0.1 Stable Apr 21, 2026
1.0.0 Stable Apr 15, 2026