escape start curly brace

This commit is contained in:
Weiran Ye 2024-02-19 22:39:30 -08:00
parent a614006342
commit 078ac1c259

View file

@ -15,7 +15,7 @@ If you want to overwrite the `source` field in the `JSON` string, you can set `w
**_Signature_**
<pre>
serializeAsJSON({
serializeAsJSON(&#123;
elements: <a href="https://github.com/excalidraw/excalidraw/blob/master/packages/excalidraw/element/types.ts#L114">ExcalidrawElement[]</a>,
appState: <a href="https://github.com/excalidraw/excalidraw/blob/master/packages/excalidraw/types.ts#L95">AppState</a>,
files: <a href="https://github.com/excalidraw/excalidraw/blob/master/packages/excalidraw/types.ts#L97">BinaryFiles</a>,