editor: Fix `editor: copy path` not working in SSH remoting (#23235)

Closes #23135 

Release Notes:

- Fix `editor: copy path` not work in ssh remote
f0a07b5effCharlesChen0823 committed on 1/17/2025, 3:47:47 AM· committed by GitHubparent7ee78a4
1 file changedLine totals unavailable