Type: Function

How to get registerEditorStatusbarContent?


import registerEditorStatusbarContent from 'fontoxml-editor/src/registerEditorStatusbarContent.js'

Add arbitrary content to Fonto's statusbar.

Call this in the install.js of the package providing the React component to use as the statusbar's content. Statusbar content is ordered from left to right by decreasing priority: content with higher priority is shown on the left.

The platform currently uses this for:

Content Quality:

  • id: content-quality

  • priority: 70

  • Component: A button that shows the number of warnings and opens the sidebar tab on click


  1. content