Introduction

The Elements API enables you to access elements on the canvas (the page the user is designing) from an editor add-on’s panel.

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

Copy

or

Copy

Then import the elements module from @wix/editor:

Copy
Did this help?