Callout in canvas text node causes infinite loop

Steps to reproduce

  1. Create a new Canvas file
  2. Add a card (text node) and insert a callout in it. The resulting canvas file will look like this:
{
	"nodes":[
		{"id":"d22017114893768b","type":"text","text":"> [!NOTE] Title\n> Contents\n","x":-140,"y":-168,"width":420,"height":268}
	],
	"edges":[]
}
  1. Double-click the card and activate the card’s editor.
  2. Click outside the card to deactivate the editor.

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

No error

Actual result

Infinite loop causing error messages saying “Uncaught ResizeObserver loop completed with undelivered notifications”

Screen Recording 2025-03-12 at 15.47.22

Environment

SYSTEM INFO:
Obsidian version: v1.8.9
Installer version: v1.8.9
Operating system: Darwin Kernel Version 22.6.0: Mon Feb 19 19:43:41 PST 2024; root:xnu-8796.141.3.704.6~1/RELEASE_ARM64_T8103 22.6.0
Login status: logged in
Language: en
Catalyst license: insider
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0

RECOMMENDATIONS:
none


Additional information

Screen Recording 2025-03-12 at 15.50.19