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:
npm install @wix/editor
or
yarn add @wix/editor
Then import the info
module from @wix/editor
:
import { info } from '@wix/editor