Skip to content

[pull] main from ueberdosis:main - #165

Merged
pull[bot] merged 1 commit into
code:mainfrom
ueberdosis:main
Jul 24, 2026
Merged

[pull] main from ueberdosis:main#165
pull[bot] merged 1 commit into
code:mainfrom
ueberdosis:main

Conversation

@pull

@pull pull Bot commented Jul 24, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

* feat(extension-find-and-replace): add find and replace functionality

- Introduced a new `@tiptap/extension-find-and-replace` extension that allows users to search for terms in the document, highlight matches, and replace them with specified text.
- Added support for case-sensitive and regex searches.
- Implemented UI components for the extension in both React and Vue demos.
- Updated `.fallowrc.json` to include the new extension and modified `pnpm-lock.yaml` for dependency updates.
- Added tests to ensure functionality works as expected.

This feature enhances the editing capabilities of Tiptap by providing a robust find and replace mechanism.

* feat(find-and-replace): add aria-labels to input fields for accessibility

* fix(extension-find-and-replace): correct case sensitivity description in documentation

* fix(extension-find-and-replace): update replacement term handling in tests

* fix(extension-find-and-replace): change style tag content assignment from innerHTML to textContent for security

* feat(extension-find-and-replace): implement regex safety checks to prevent catastrophic backtracking

* feat(extension-find-and-replace): add whole word matching option

- Enhanced the `@tiptap/extension-find-and-replace` to support whole word matching, which can be enabled or disabled by the user.
- Updated the UI components in React and Vue demos to include a checkbox for the whole word option.
- Added tests to verify the functionality of whole word matching and its interaction with regex mode.
- Updated documentation to reflect the new feature and its usage.

* fix(find-and-replace): don't overwrite pre-chained transaction meta

* fix(find-and-replace): sync initial search results to storage

* test(find-and-replace): set the result index to 0 when there are results but no index yet

* test(find-and-replace): maintain the result index by mapping it through transaction

* test(find-and-replace): add support for emojis

* test(find-and-replace): add Unicode whole word matching

* feat(extension-find-and-replace): integrate RE2 for safer regex handling

* refactor(find-and-replace): improve decoration rendering and split out utils

* refactor(find-and-replace): improve performance on position lookups

* refactor(find-and-replace): enhance replace functionality with grouped results processing

* feat(find-and-replace): implement find and replace functionality with hooks and improved state management

* refactor(find-and-replace): move search debounce logic into extension and clean up UI hooks

* refactor(find-and-replace): reorganize source files into subdirectories and split modules
@pull pull Bot locked and limited conversation to collaborators Jul 24, 2026
@pull pull Bot added the ⤵️ pull label Jul 24, 2026
@pull
pull Bot merged commit e9942fc into code:main Jul 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant