wix-editor
The wix-editor module contains functionality for working with the site editor from a Blocks Panel code. Learn more.
Guides
Additional information about this section
Functions
Perform actions on an object
- getCurrentViewport( )
Gets the viewport currently selected in the Editor.
- getScopedWixEditor( )
Gets the wix-editor module scoped of an inner (nested) widget.
- isRemoved( )
Checks if an element is removed from the widget.
- listRemovedElements( )
Gets a list of all removed widget elements.
- openDashboardPanel( )
Opens the Dashboard for the current site.
- removeElement( )
Removes a widget element from the stage.
- restoreElement( )
Restores (shows) a widget element on the stage.