Skip to content

Adding a find/replace option to Foundry v13's ProseMirror editor.

License

Notifications You must be signed in to change notification settings

paulcheeba/find-and-replace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foundry VTT Version Latest Release Downloads (All Time) Downloads (Latest)

Find and Replace for Foundry VTT

A module that adds comprehensive find and replace functionality to all ProseMirror editors in Foundry VTT v13+.

image

Features

  • Find & Replace UI: Adds a button to the ProseMirror toolbar that expands to reveal find and replace controls
  • Find Next/Previous: Navigate through all matches in your document
  • Replace Current: Replace the currently selected match
  • Replace All: Replace all matches at once
  • Match Case: Optional case-sensitive searching
  • Universal Support: Works across all ProseMirror editors (journals, actor sheets, item descriptions, etc.)

Installation

Manual Installation

  1. Download the latest release:
    https://github.com/paulcheeba/find-and-replace/releases/latest/download/find-and-replace.zip
    
  2. Extract the zip file to your Foundry VTT Data/modules folder
  3. Restart Foundry VTT
  4. Enable the module in your world's module settings

Manifest URL

https://github.com/paulcheeba/find-and-replace/releases/latest/download/module.json

Usage

  1. Open any ProseMirror editor in Foundry VTT (journal entry, actor bio, item description, etc.)
  2. Click the Find & Replace button in the editor toolbar (located next to the Source HTML button)
  3. The toolbar will expand to show:
    • Find field: Enter your search term
    • Find Next/Previous buttons: Navigate between matches
    • Replace field: Enter replacement text
    • Replace/Replace All buttons: Replace one or all matches
    • Match Case checkbox: Toggle case-sensitive searching
  4. Click the Close button to collapse the toolbar

Compatibility

  • Foundry VTT Version: v13 and above
  • System Compatibility: Universal (works with all game systems)

License

This module is licensed under the MIT License.

Credits

Author: paulcheeba (crusherDestroyer666)

Changelog

See CHANGELOG.md for version history.

Patreon:

If you'd like to support OverEngineeredVTT (or just follow along for free updates), you can find me here:

Discord:

Join the discussion!

About

Adding a find/replace option to Foundry v13's ProseMirror editor.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •