Skip to content

[Medium] After copying content to editor - press enter for user automatically #412

@polubis

Description

@polubis

When editable mode is passed to Code component and ctrl + v is detected, the additional enter should be pressed for user without additional tab space.

Currently there is no enter, and after pressing an enter by user, the additional tab is added. Check codemirror 6 documentation, or ask ChatGTP (whatever) good for you, how to improve this behavior, maybe write own action as described in codemirror 6 documentation.

Definition of done

  1. There is no tab after pressing enter by user when Code component is editable.
  2. There is automatically enter added after pasting the content by user.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status
🔖 Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions