Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module adds FontAwesome icon support to the ProseMirror editor, providing a searchable icon picker for easy insertion and proper rendering of icons. It demonstrates the module's APIs by adding an icon button to the editor's menu.

This module provides FontAwesome icon support for the ProseMirror editor as an example of the prosemirror module APIs.

Features

  • Adds an "Icon" button to the ProseMirror editor menu (if an icon element exists in the ProseMirror config)
  • Provides a searchable icon picker dialog with all FontAwesome solid icons
  • Supports drag-and-drop icon insertion
  • Renders icons properly in both editor and output (if allowed by the text format)
  • Demonstrates the ProseMirror APIs

Installation

  1. Enable the prosemirror_fontawesome_icons module
  2. Add a new ProseMirror Element called "Icons", machine name "icon".
  3. The module will automatically:
    • Install FontAwesome dependencies
    • Register the icon node type with ProseMirror
    • Add the icon menu item to the editor

Usage

  1. Open a ProseMirror editor
  2. Click the "Icon" button in the Embed drop-down
  3. Search for icons using the search field
  4. Click on an icon to insert it into the editor

Please note that icons will not render in the frontend unless the font-awesome library is included in the frontend AND the text format allows the <i> tag with classes.

Activity

Total releases
2
First release
Oct 2025
Latest release
9 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.0.0-beta2 Pre-release Oct 7, 2025
1.0.0-beta1 Pre-release Oct 6, 2025