This module is available only in Wix Blocks
Wix Blocks is a workspace for building Wix apps. It is currently a Beta version, open to a limited number of users.

The Editor API is used within the code of panels built with the Blocks Panel Builder. It enables your panel to interact with the Wix editors by removing or restoring widget elements, opening Dashboard panels, and more. To use the Editor API, import wixEditor from the wix-editor module:

import wixEditor from 'wix-editor';
javascript | Copy Code

Was this helpful?