Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Trash 3.0.33 Minor update available for module trash (3.0.33). EOL Warning: Drupal 11.0 has reached end of life and no longer receives security updates. Usage Milestone: Focal Point Module focal_point crossed 1,000 active installs. Release: UI Patterns (SDC in Drupal UI) 2.0.20 Minor update available for module ui_patterns (2.0.20). Release: Trash 3.1.0-rc1 First release candidate for module trash (3.1.0-rc1). Release: Country 2.2.0 Minor update available for module country (2.2.0). Usage Milestone: Ultimate Cron Module ultimate_cron crossed 1,000 active installs. Usage Milestone: Easy Breadcrumb Module easy_breadcrumb crossed 1,000 active installs. Usage Milestone: Config Filter Module config_filter crossed 1,000 active installs. Usage Milestone: Blog Module blog crossed 1,000 active installs.

VK Embed

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

This module allows editors to embed VK wall posts directly into CKEditor 5 content using a toolbar button. It stores a database placeholder that is converted into a live VK widget when the content is displayed, with server-side filtering to prevent security vulnerabilities.

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.

Depends on

Dependencies of the latest stable release

  • ckeditor5 Drupal core
  • 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 15, 2026