Pasted Tables Can't Be Removed With "Undo"

Steps to reproduce

(Videos are better than words. I’ve added a video below.)

  1. Copy-Paste complex table from other source to Obsidian.
  2. Press Enter 2 times
  3. Undo the enters and the table.
  • This doesn’t happen if the table was copied from Obsidian.
  • Maybe the table must have links. I’m not sure.

Did you follow the troubleshooting guide? Y

Expected result

Table can be removed with undo

Actual result

Table can’t be undone. Somehow the undo is stuck inside content of the table (see video)

Environment

SYSTEM INFO:
	Obsidian version: v1.8.10
	Installer version: v1.8.9
	Operating system: Windows 11 Pro 10.0.22631
	Login status: logged in
	Language: en
	Catalyst license: insider
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none


Additional information

  • I’ve found out that I have to make 2x Enter for a new line after pasting the table because the cursor is a the last | of the table.
  • Probably having to press the enter 2x is causing the bug.