facebook / facebook/lexical

Feature: paste indents support

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

Description

when pasting or importing an indentable elementNode beginning with /t, increment the `indent` property instead of creating a `tabNode`.

The same thing that @zurfix said in #4436 applies:
> The fastest approach would have been to have a `registerNodeTransform`, but it comes at the cost of performance

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.