This seems to work again today: the dialog to create a post opens with the content from my thread.
I’m not sure why it failed. I only know it works as of this commit: Commits · discourse/discourse · GitHub as part of version 3.2.0.beta5-dev. I didn’t notice any obvious candidate commit between 2023-12-27 and that commit that purported to fix the problem.