Skip to content

fix: Enhanced the findElement function to first attempt finding elements within the current selection#581

Merged
Darginec05 merged 1 commit intomasterfrom
579-bug-when-block-unfocused-and-you-want-to-apply-settings-it-show-block-not-found
Feb 26, 2026
Merged

fix: Enhanced the findElement function to first attempt finding elements within the current selection#581
Darginec05 merged 1 commit intomasterfrom
579-bug-when-block-unfocused-and-you-want-to-apply-settings-it-show-block-not-found

Conversation

@Darginec05
Copy link
Copy Markdown
Collaborator

  • Introduced comprehensive test suites for the deleteElement and updateElement functions, covering various scenarios including deletion by selection, path, and custom matchers.
  • Enhanced the findElement function to first attempt finding elements within the current selection before falling back to searching the entire document.
  • Added tests for inline element handling in both delete and update operations, ensuring correct behavior for different element types.
  • Mocked necessary dependencies to isolate tests and validate functionality effectively.

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

- Introduced comprehensive test suites for the deleteElement and updateElement functions, covering various scenarios including deletion by selection, path, and custom matchers.
- Enhanced the findElement function to first attempt finding elements within the current selection before falling back to searching the entire document.
- Added tests for inline element handling in both delete and update operations, ensuring correct behavior for different element types.
- Mocked necessary dependencies to isolate tests and validate functionality effectively.
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
yoopta-editor-web Building Building Preview, Comment Feb 26, 2026 8:34pm

Request Review

@Darginec05 Darginec05 merged commit 4cf24e0 into master Feb 26, 2026
3 checks passed
@Darginec05 Darginec05 deleted the 579-bug-when-block-unfocused-and-you-want-to-apply-settings-it-show-block-not-found branch February 26, 2026 22:21
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.

[BUG] When block unfocused and you want to apply settings it show "block not found"

1 participant