Editor API

The Editor API enables code running within a Wix editor (for example in a settings panel) to interact with other parts of the editor. Using the API, you can access the properties of a widget on the editor canvas, retrieve data about the editor environment, and more.

Setup

To use the Editor API, install the @wix/editor package using npm or Yarn:

Copy
1

or

Copy
1

Next, create a Wix Client using one of the editor modules. For example:

Copy
1
Was this helpful?
Yes
No