Fix lag when interacting with `MarkdownElement` (#31585)

Previously, we forgot to associate the `Markdown` entity to
`MarkdownElement` during `prepaint`. This caused calls to
`Context<Markdown>::notify` to not invalidate the view cache, which
meant we would have to wait for some other invalidation before seeing
the results of that initial notify.

Release Notes:

- Improved responsiveness of mouse interactions with the agent panel.

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
957e4adc3fAntonio Scandurra committed on 5/28/2025, 12:50:45 PM· committed by GitHubparentfee6f13
1 file changedLine totals unavailable