Advanced Insert View¶
Advanced Insert View is an input filter that embeds Views displays into formatted text. Editors add a view with a CKEditor 5 toolbar button and a dialog, or by typing a [view:name=display=args] token.
It is an alternative to the original Insert View module.
Features¶
- CKEditor 5 button and dialog. Pick a view display and fill in its contextual filters. No token syntax needed.
- Argument helpers. The dialog lists the contextual filters of the chosen display, shows field labels where it can, and offers autocomplete for entity reference arguments (taxonomy terms, content, users). Multiple values per argument are supported.
- Live preview. The CKEditor 5 plugin loads a preview endpoint for the inserted view; the CKEditor 4 plugin has a setting to turn it off.
- Placeholders and lazy loading. The filter renders views through Drupal placeholders, so the view and the host entity are cached separately. With BigPipe enabled, slow views stream in after the page.
- Per-format restrictions. Limit which view displays each text format may embed, and optionally hide the argument input.
- Token syntax kept.
[view:name=display=args]still works. - Entity Usage. With the Entity Usage module, entities used as view arguments are tracked.
- Extras. A CKEditor 4 plugin (Drupal 10 only) and a BUEditor integration submodule.
Security
The filter renders views for whoever can write content in a text format that enables it. Grant such formats to trusted roles only. If you cannot, set correct access on every view and every display, including the default display. The filter checks view access for the current user at render time.
Requirements¶
- Drupal 10.1, 11 or 12
- Views, Editor and Filter (core)
Screenshots¶
