Resizing an embedded file excalidraw

Steps to reproduce

The issue is related to resizing an embedded file.
With an .img file, I can quickly change the image size using the structure

! [[x|1000]]

However, with an .excalidraw file, this method does not work. I have to switch to using

! [[x|100%x400]]

<!-- 
Starting from scratch, what are the steps to make the bug happen? 
The fewer the steps, the better.
Type below: -->

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

<!--
What do you expect to see after carrying out the steps above?
-->

Actual result

<!-- Instead of the expected result, what happened? -->

Environment

Version 1.12.4

<!-- Paste your debug info below, which can be accessed by Command Palette (Ctrl/Cmd-P on Desktop, Swipe down from the top on mobile) enter "Show debug info", and click "Copy to clipboard". -->

Additional information

<!--
Anything else you think would help our investigation, like a screenshot, screenrecording, or a log file?
You can drag and drop screenshots to this box.
For large amount of text, try putting them into something like Pastebin and add link here as `inline code`.
For videos, upload them somewhere and add link here as `inline code`.
-->

We don’t take bug reports involving third party plugins.

Please, post this in the exalidraw github repo.