facebook / facebook/lexical

Refactor: simplified insertText rewrite (part 2)

Open
#6,553 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
23.9k
Forks
2.2k
Avg merge
1d 14h
Merged PRs (30d)
57

Description

I'm opening this issue to follow up on part 2 of PR #6456.

In the first part I rewrote removeText so that it is not dependent on insertText.

The second part that is missing is to rewrite insertText with the new removeText.

My first draft version is in the codebase commented and is much shorter. But some tests are failing.

I don't think I'll be able to finish it anytime soon, so it's an open task for volunteers :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.