Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8). editoria11y 2.2.22 Minor update available for module editoria11y (2.2.22).

vk_embed

No security coverage
View on drupal.org

Embeds VK (VKontakte) wall posts inside CKEditor 5 content via a native toolbar button and balloon form. Editors paste the VK-generated embed snippet and the module stores a lightweight placeholder in the database. A text filter converts placeholders to the live VK widget on render. Server-side whitelist prevents XSS by only re-emitting the canonical VK.Widgets.Post() call.

Features

  • Adds a VK Post button to the CKEditor 5 toolbar.
  • Balloon form lets editors paste the VK-generated embed snippet.
  • Optional toggle for background color (configurable per embed).
  • Stores an escape-safe placeholder in the database.
  • A text filter converts placeholders to the live VK widget on render.
  • Server-side whitelist: only the canonical VK.Widgets.Post(id, ownerId, postId, hash) call is re-emitted; any extra script tags or markup are stripped.
  • The openapi.js 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 VK embeds (e.g. Full HTML).
  3. Drag the VK Post button into the CKEditor 5 toolbar.
  4. Enable the VK 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 VK post embeds with a CKEditor 5 toolbar integration and XSS-safe server-side rendering. Other social embed modules may cover multiple platforms but typically lack native CKEditor 5 toolbar buttons or VK-specific XSS hardening.

Activity

Total releases
1
First release
Apr 2026
Latest release
1 day ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.0 Stable Apr 15, 2026