Skip to content

[pull] main from ueberdosis:main#95

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

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

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 19, 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 19, 2026 11:41
* fix(core): return correct node from  for non-text atom nodes

* fix(core): return correct node from $pos() for non-text atom nodes

* fix(core): return correct node from $pos() for non-text block atom nodes
…tracking (#7828)

* fix(nodeview): optimize NodeView re-renders by implementing shallow prop comparison

* fix(nodeview): eliminate unnecessary re-renders, add opt-in position tracking

NodeViews no longer re-render when decorations or position change without
content changes. Added trackNodeViewPosition option for reactive position
prop. Removed internal nodeViewPositionRegistry. Added shallow prop
comparison in ReactRenderer.updateProps().

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: remove position prop, use getPos() as re-render trigger

Instead of a separate reactive position prop, the trackNodeViewPosition
option now triggers a re-render via getPos reference change. Users always
use getPos() for position access.

* fix: address Copilot review comments

- Fix JSDoc for trackNodeViewPosition (no reactive position prop)
- Call updateElementAttributes() in handlePositionUpdate
- Only compute newPos in the nodeChanged branch

* fix(vue): restore decoration class updates when node reference unchanged

* fix(vue): sync currentPos in node-changed branch to prevent double re-render

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* test(core): add test for inserting plain text content

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…arately (#7844)

* fix(markdown): serialize adjacent marks with different attributes separately

* fix(markdown): address Copilot review feedback

- Fix attrsEqual to check key presence in both objects and use Object.is
- Remove duplicate JSDoc block in markSetsEqual
- Make getMarksToOpenForSerialization attr-aware for continuing/ending logic
- Hoist normalizeMarks to module level to avoid duplication
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators May 19, 2026
@pull pull Bot added the ⤵️ pull label May 19, 2026
@pull pull Bot merged commit d9daae0 into code:main May 19, 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