Skip to content

App not calculating appropriate borders for diagram on export #32

Description

@Sharpiro

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions