Skip to content

[pull] main from ueberdosis:main#97

Merged
pull[bot] merged 5 commits into
code:mainfrom
ueberdosis:main
May 21, 2026
Merged

[pull] main from ueberdosis:main#97
pull[bot] merged 5 commits into
code:mainfrom
ueberdosis:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 21, 2026

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 : )

bdbch and others added 5 commits May 21, 2026 21:24
#7848)

* fix: properly handle inline nodes with text content during deleteSelection

The selection is now expanded to include entire inline node boundaries when deleting, preventing incorrect collapse of inline text nodes. Added tests for various deletion scenarios including empty selections, text selections, cross-paragraph selections, and inline node deletions.

* fix(core): guard deleteSelection mutation behind dispatch check

In editor.can() / can().chain() calls, dispatch is undefined and commands
must not mutate the transaction. Changed the command to accept dispatch
from props and only call tr.deleteRange().scrollIntoView() when dispatch
is truthy, following the same pattern used by deleteRange and clearNodes.
Adds SCOPES.md listing valid commit scopes (monorepo packages +
additional areas) and links to it from AGENTS.md so agents and
contributors can pick the right scope when committing.
List all extension-* packages individually and fix stray characters
in AGENTS.md from the earlier conflict resolution.
…ndle (#7851)

* refactor(placeholder): improve performance when showOnlyCurrent is true

* Make placeholder viewport-aware and improve performance on rendering

* Refactor placeholder utilities and handle RTL

Introduce useResolvedPath flag in placeholder to clarify logic
Destructure classes in createPlaceholderDecoration to extract
emptyNode and emptyEditor
Add isScrollable helper and simplify findScrollParent detection
Pick x coordinate based on editor direction in
getViewportBoundaryPositions to support RTL layouts

* Add changeset to optimize decoration traversal

* Add dragImageProperties option to DragHandle

* fix(placeholder): map placeholder position across transactions

* fix(placeholder): add typesafety for throttle arguments

* chore(placeholder): fix typo

* chore(placeholder): fix typo

* test(drag-handle): add tests for dragging with and without CSS filters

* refactor(placeholder): don't map positions if the document hasn't
changed

* test(drag-handle): update tests

* refactor(drag-handle): filter out empty properties

* test(placeholder): add new tests for placeholder rendering

* refactor(placeholder): use window as container for container boundaries

* test(placeholder): fix throttle timer tests and adjust types
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators May 21, 2026
@pull pull Bot added the ⤵️ pull label May 21, 2026
@pull pull Bot merged commit 195b13f into code:main May 21, 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