editDesign()
data-variant=error
data-slots=header, text
IMPORTANT: Deprecation Warning
We are no longer approving integrations using v1 or v2 of the SDK - both versions will be deprecated in 2024.
This API is used for editing an existing project in the embedded full editor.
editDesign: (editDesignParams: EditDesignParams): void
EditDesignParams
All the properties in this object are optional.
Property
Type
Description
EditInputParams
EditInputParams is where you pass the associated projectId to launch in an editor component.
Property
Type
Description
projectId
string
Project ID of the asset returned from
onPublish callback when createDesign was invoked.exportOptions
Export options for the asset that is created. If no export options are specified, the editor falls back to the default layout options.
panelSearchText
string
Search text to pass in the editor for selected panel.
When a user completes their workflow in the editor, the associated projectId is sent back in publishParams from the onPublish callback.