Skip to content

Undo level created for every character typed in textarea #2932

@ellatrix

Description

@ellatrix

Issue Overview

Textareas and inputs sync their state continuously, so for every change, a new undo level is created. This is unexpected as it is unlikely one would want to undo changes character by character. Additionally, this requires a lot of memory.

Steps to Reproduce (for bugs)

  1. Create a code block, or any other block with a textarea or input element.
  2. Type some text.
  3. Undo changes and observer they happen character by character.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions