tui.editor icon indicating copy to clipboard operation
tui.editor copied to clipboard

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

Open zealpane opened this issue 1 year ago • 1 comments

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

zealpane avatar Sep 18 '24 09:09 zealpane

@zealpane Opened a PR: #3270

rawstream avatar Sep 28 '24 16:09 rawstream