Unlink Component (Beta)
Unlink Component (Beta)
element.unlinkComponent()
Converts a component instance into a plain element tree, detaching it from its component definition.
After unlinking, the returned element is no longer a ComponentInstance — it is a regular element with the same visual structure. Changes to the original component definition will no longer affect it.
This action is undoable via the Designer’s undo stack.
Beta
These methods are in public beta and may change with future releases.
Syntax
Returns
Promise<AnyElement>
A Promise that resolves to the root element of the detached element tree.