The excalidraw UI will sometimes mark deleted shapes as "isDeleted": true instead of immediately deleting them from the json file.
If I create a huge shape in the UI, then delete it, then run excalidraw-cli export to png, the calulated borders for the diagram will be way off.
I can workaround this by going into the excalidraw UI local storage, deleting key 'excalidraw-state', refreshing, and re-saving. This causes the UI to delete the element from the file rather than just marking it for deletion.
excalidraw-cli likely needs to be updated to filter out shapes marked for deletion when exporting images.
The excalidraw UI will sometimes mark deleted shapes as
"isDeleted": trueinstead of immediately deleting them from the json file.If I create a huge shape in the UI, then delete it, then run excalidraw-cli export to png, the calulated borders for the diagram will be way off.
I can workaround this by going into the excalidraw UI local storage, deleting key 'excalidraw-state', refreshing, and re-saving. This causes the UI to delete the element from the file rather than just marking it for deletion.
excalidraw-cli likely needs to be updated to filter out shapes marked for deletion when exporting images.