How to get configureAsObject?
import configureAsObject from 'fontoxml-families/src/configureAsObject.js'
An object may contain arbitrary HTML. Therefore, its inner display and behavior are not controlled by Fonto. Examples of this family are media objects and formulas.
The element itself is not visible by default. Objects are recognizable by their content, which can be anything.
As Fonto doesn't edit objects, we define no keyboard flow inside them. Objects cannot be deleted by pressing Backspace or Delete.
Objects are 'closed' in terms of cursor navigation. They do not allow the cursor to exit nor enter it by pressing the arrow keys or when using operations like set-cursor-to-first-text-position.
Use this family if you need an element to have a custom visual representation and/or custom behavior which cannot be accomplished by any of the other families. Use the createInnerJsonMl callback to render the object to HTML.
A clickOperation may be used to execute something on click.
The following widget areas are available:
The following visualization options are visualized by this family:
This family has another additional option which affect how it behaves: