Skip to content

Step recorder logic fix - #101

Merged
feedthejim merged 3 commits into
mainfrom
step-recorder-logic-fix
Feb 17, 2021
Merged

feedthejim merged 3 commits into
mainfrom
step-recorder-logic-fix

Conversation

@feedthejim

@feedthejim feedthejim commented Feb 17, 2021 •

Copy link
Copy Markdown

This should fix:

  • using shift + arrow to move the selection
  • disable the flag even if there's no update change

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 17, 2021
@feedthejim
feedthejim merged commit 7a9a923 into main Feb 17, 2021
@feedthejim
feedthejim deleted the step-recorder-logic-fix branch February 17, 2021 15:52
acywatson pushed a commit that referenced this pull request Apr 9, 2022
* step recorder: fix logic in the right/arrow key
etrepum pushed a commit to etrepum/lexical that referenced this pull request Oct 30, 2026
…write nested pieces in place

## Description

The export's autolink check stopped at the backslash that escapes `_`, `~` or `*`, so a mention like `@john_doe` or a URL path like `/a_b` next to formatted punctuation got a reference written inside it (`@john\_do&meta#101;**(x)**`). The check now steps over escaping backslashes. Nested inline elements also wrote their pieces into a fresh array that the parent copied; they now write into the caller's pieces, in both the full and the selection export.

## Test plan

### Before

```
pnpm vitest run --project unit packages/lexical-markdown/src/__tests__/unit/LexicalMarkdown.test.ts -t autolink
     × writes no reference inside "https://example.com/a_b", which readers may autolink
     × writes no reference inside "@john_doe", which readers may autolink
      Tests  2 failed | 3 passed | 698 skipped (703)
```

### After

```
pnpm vitest run --project unit packages/lexical-markdown
      Tests  879 passed (879)
```

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants