svg_preview: Remove unnecessary dependency on editor (#43147)

Editor is a choke point in our compilation graph while also being a very
common crate that is being edited. So reducing things that depend on it
will generally improve compilation times for us.

Release Notes:

- N/A *or* Added/Fixed/Improved ...
29f9853978Lukas Wirth committed on 11/20/2025, 11:18:50 AM· committed by GitHubparent1e45c99
24 files changedLine totals unavailable