This project is not covered by Drupal’s security advisory policy.
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
- Go to Configuration > Content authoring > Text formats and editors.
- Edit the text format you want to support Telegram embeds (e.g. Full HTML).
- Drag the Telegram Post button into the CKEditor 5 toolbar.
- Enable the Telegram Embed filter in the Enabled filters section.
- 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.
Project information
- Project categories: Content editing experience
1 site reports using this module
- Created by morovinger on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
1.0.3
released 17 June 2026
Works with Drupal: ^10.3 || ^11 || ^12
Editor widget styling fix + Drupal 12 support
Install: