facebook / facebook/lexical

Bug: can't use some shortcuts in inputs inside DecoratorNodes

Open
#3,761 1 comment 1 reaction 0 assignees View on GitHub
all-platforms-bug core
Dominant language
TypeScript
Stars
23.9k
Forks
2.2k
Avg merge
1d 14h
Merged PRs (30d)
55

Description

When we have an input inside a DecoratorNode and we try to do `Ctrl+Del` for example, which is suppose to delete one full word, it doesn't do anything.

[Screencast from 2023-01-21 05:57:46 PM.webm](https://user-images.githubusercontent.com/99157490/213890396-16c87be2-55a0-4a08-85dd-610883bef773.webm)

Lexical version:

## Steps To Reproduce

1. Go to playgroud
2. Insert a poll
3. Write something
4. Press `Ctrl+Del`
5. Notice nothing happening

## The current behavior
Nothing happens when `Ctrl+Del` in an input.

## The expected behavior
A word is deleted in an input when `Ctrl+Del` is pressed.

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.