mayrang
mayrang
Quick follow-up — after multiple attempts I couldn't reproduce this consistently on macOS Chrome 148; most sessions show correct behavior. Looks like a timing / IME-state-dependent flake rather than a...
Working on extending the existing `VisibleLineBreakExtension` to a `VisibleNonPrintingExtension` (playground extension with a Settings toggle, off by default) — covers `↵` on `LineBreakNode`, `→` on `TabNode`, and `¶` on `ParagraphNode`...
Thanks — that pattern works. Added one tweak: narrowed `:has(br:last-child)` to `:has(> br:last-child)` since the LineBreakNode wrapper span's inner `` is also `:last-child` of the wrapper and was matching when...
The `¶ ↵ → ·` set landed in #8594. Took another look — landed up on the same wall I think. The font swap works fine for NBSP (mapped U+00A0...
The playground file is self-contained — every import comes from published `@lexical/*` packages. Copy [`VisibleNonPrintingExtension.ts`](https://github.com/facebook/lexical/blob/e15c83ce31b043a83d6b6ef9bf21cd5a2e9e6c8f/packages/lexical-playground/src/plugins/VisibleNonPrintingExtension.ts) into your project and add it to your extension dependencies. The block markers (`¶`), skip...
When filing the issue I tried the normalize-to-`\t` approach locally and exercised the same `Tab` + Korean composition path, plus a few neighboring cases (Backspace removing the `TabNode`, Enter, English...
Opened #8716 for four of these. Quick summary: - **Selected DecoratoreNode is not deleted via Backspace** — `KEY_BACKSPACE_COMMAND` was passing through on a NodeSelection because the click target lives inside...
Added that fix too — PR #8716 updated. Host stays, paragraph only is removed.
I was looking into this issue and had a couple of questions before starting. I added a `no-restricted-globals` override for `window` and `document` in `packages/**/src/**` (excluding tests/benchmarks) and an AGENTS.md...
This isn't a Lexical bug — it's a jsdom limitation with contenteditable. In jsdom, `CAN_USE_BEFORE_INPUT` evaluates to `false` because jsdom's `InputEvent` doesn't have `getTargetRanges`. Lexical falls back to its `onInput`...