Файли
openidea/e2e
l0ng-ai 3ee1062d91 fix(markdown): take MDX preview shortcuts and links only from the user's input (#8382)
The MDX live preview runs the document's own code in the same frame as the
bridge that forwards shortcuts and link clicks to the IDE. That code can take
the bridge's port (for example by asking the host for the guest document again)
and post IDE shortcuts at any time, or open links while the pointer only hovers
over the frame.

A forwarded shortcut now counts only while the frame has the focus and the user
just pressed a key or clicked in it, the check plugin web views already make;
a link needs the same on top of the pointer being on the frame.
2026-12-06 20:44:14 +08:00
..