mayrang
mayrang
Correction — my earlier example with `container.dispatchEvent(new InputEvent('input', ...))` doesn't actually work. I traced through the code path again and verified with a test: in jsdom, synthetic input events don't...
Nice proposal — I'll put together a PR for this.
I tried reproducing this on the playground (latest main, Chrome/macOS) but copying table content in read-only mode seems to work fine — both single-cell text selection and multi-cell table selection...
My earlier comment was looking at the wrong layer — I was poking at `$copyToClipboardEvent` and couldn't reproduce. etrepum's observation that `COPY_COMMAND` never fires was the missing piece. Dug into...
Sorry for the late response — just got around to this. Opened #8901. The fix skips bare slot values in `$setBlocksType` — if `$getSlotHost(prevNode)` returns a host, the node is...
Would a transform work for your case? Something like: ```ts editor.registerNodeTransform(ReviewNode, (review) => { const author = $getSlot(review, 'author'); if (author && !$isParagraphNode(author)) { const para = $createParagraphNode(); para.append(...author.getChildren()); $setSlot(review,...
Looks like this is already in progress, so just a few things I ran into that might be useful. The one that took me longest to pin down: a hard...
Opened a fix in #10188.
Opened #156 with a `letterSpacing` option that uses the Canvas native `ctx.letterSpacing` (Baseline 2025.03) for exact measurement. This covers the `letter-spacing` part of the issue — `font-optical-sizing` and `font-feature-settings` are...
## Verified fix across all CJK languages After the fix (`!mergedContainsCJK[prevIndex]` guard), all three CJK language families produce correct segmentation: ``` Korean: 서울 | (Seoul) | 과 ✓ Japanese: 東京...