configureAsInlineObjectInFrame

How to get configureAsInlineObjectInFrame

import configureAsInlineObjectInFrame from 'fontoxml-families/src/configureAsInlineObjectInFrame.js'

Type: Function

Use this family when inline objects can contain other elements which should be rendered.

Their semantic unity is visualised through a colored border and a background.

Just like block frames, inline frames can’t be split in two and adjacent ones will not merge. Inline frames can be deleted by pressing Backspace or Delete twice: the first press selects the frame to help the author understand what will happen.

Use this family for inline objects which can contain other elements which should be rendered. For example an desc element, which contains a description of the object.

Use the createInnerJsonMl callback to render the object to HTML.

A clickOperation may be used to execute something on click.

The following visualization options are visualized by this family:

  • backgroundColor

  • showWhen

The following widget areas are available:

  • inlineBefore

  • inlineAfter

This family has a number of additional options which affect how it behaves:

  • defaultTextContainer

Arguments

# Name Type Description
1. sxModule SxModule
2. selector XPathTest
3. markupLabel String
4. options CvkOptions