configureAsInlineObject

Type: Function

How to get configureAsInlineObject?

JavaScript

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

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

Objects are displayed as themselves.

Objects 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 if you need an inline element to have a custom visual representation and/or custom behavior which cannot be accomplished by any of the other inline 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:

  • inlineBefore

  • inlineAfter

This family has another additional option which affect how it behaves:

  • createInnerJsonMl

Arguments

  1. sxModule

    (Required)

    Type: SxModule

  2. selector

    (Required)

    Type: XPathTest

  3. markupLabel

    (Required)

    Type: String

  4. options

    (Required)