mayrang

Results comments of mayrang

Replanning around both: 1. Slot hook on `LexicalNode` base, default returns the keyed DOM. ElementNode's existing override stays. 2. TextNode and LineBreakNode each get their own override — real non-Element...

Peeked at what render decoupling would actually touch — selection, mutations, the whole DOM-mount invariant — and yeah, that's a lot 😅 Parking that one for a future arc. For...

Point 3 — mixed up the override pattern with ElementNode in my head (long night). LineBreakNode is a leaf. Point 4 — got it, extension-driven over subclass-driven for the common...

Apologies for the back-and-forth — locking in: DraggableBlock rewrite (extension, ElementNode) + visible linebreaks (extension, leaf) + AutocompleteNode rewrite (extension, TextNode, drop if scope inflates). Both subclass examples from my...

Thanks — already in the Discord, will catch you there next time.

In `updateEditorSync`'s inline path (line 1097), what if we snapshot `editor._deferred.length` before `updateFn()` and, if the inline call pushed deferred callbacks, schedule a microtask that calls `triggerDeferredUpdateCallbacks`? It's idempotent —...

What if `_deferred` lived on `pendingEditorState`? Each commit drains only its own pending's queue, so callbacks fire from whichever commit drained the pending they were attached to — no shared...

Yeah, I tried a few angles too but couldn't find one that works without Meta-side visibility 😅

Dug into both of these and they look like the same root cause. When a link wraps an image, the image's React decorator briefly remounts (parent goes from paragraph to...

I dug into this and ended up tracing it through to the reconciler. Sharing what I found and pointing at a candidate PR. ### Root cause The 1-frame flicker (sub-issue...