Display anything you want in a tooltip on mouse hover.
Insert custom HTML, Blocks, rendered entities...etc wherever you want.
Compatible with Views, CKEditor, Block and Block Content modules.
Requires popperjs library and drupal/ckeditor for compatibility with Drupal 10.
Editors can insert advanced HTML text/markup in WYSIWYG to create beautiful Tooltips when user hover a text. The tooltip div itself stays on top so visitors can select text or complete forms inside...etc.
It is also possible to include Tooltips in a View with custom Twig.
Out-of-the box this module provides two blocks to display content on hover:
- Tooltip block to insert custom text/markup in a Tooltip
- Tooltip from entity displays any given entity in a Tooltip
It is possible to create your own custom Tooltip block by extending the TooltipBlockBase class.
Getting started
Everything is explained in this documentation.
Enjoy your tooltips!