Skip to content

fix: match cross-block search without whitespace#1787

Closed
financialvice wants to merge 1 commit intosuperdoc-dev:mainfrom
financialvice:fix/search-cross-block-anchor
Closed

fix: match cross-block search without whitespace#1787
financialvice wants to merge 1 commit intosuperdoc-dev:mainfrom
financialvice:fix/search-cross-block-anchor

Conversation

@financialvice
Copy link
Copy Markdown
Contributor

@financialvice financialvice commented Jan 19, 2026

  • Allow cross-block matches when the query has no whitespace
  • Add coverage for cross-block no-whitespace queries

Tests:
pnpm vitest packages/super-editor/src/tests/extensions/search/search-cross-paragraph.test.js

@financialvice financialvice force-pushed the fix/search-cross-block-anchor branch from 1cd3b8f to 6fe9cb7 Compare January 19, 2026 22:47
Copy link
Copy Markdown
Collaborator

@harbournick harbournick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@harbournick
Copy link
Copy Markdown
Collaborator

merging via #1799 - thanks @financialvice !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants