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:
@wix/editor
or
Then import the info module from @wix/editor:
info