Skip to content

After rendering the content using 'initialValue', ctrl+z will undo it to blank space, and this issue also exists in the demo on the official website #3266

@zealpane

Description

@zealpane

Describe the bug

After rendering the content using 'initialValue', ctrl+z will undo it to blank space, and this issue also exists in the demo on the official website



To Reproduce

Steps to reproduce the behavior:

  1. Go to Editor
  2. Click on 'ctrl + z'
  3. See error
    

Expected behavior

Ctrl+Z should only be able to undo to the initialized value at the earliest, not blank



Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
    

Smartphone (please complete the following information):

  • Device: PC
  • OS: Windows 11
  • Browser Edge
  • Version 124.0.2478.39

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions