Introduction

The Info API enables you to retrieve data about the editor environment.

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

Copy
npm install @wix/editor

or

Copy
yarn add @wix/editor

Then import the info module from @wix/editor:

Copy
import { info } from '@wix/editor
Did this help?