configureAsInlineLink

How to get configureAsInlineLink

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

Type: Function

Configures a link to some other content which is being managed by Fonto's references system.

Links are displayed in blue, underlined text. Clicking into the link opens a popover that shows the link target. This can in turn be clicked to get a preview of the link target.

Being a variation of inline frame, inline links can’t be split in two and adjacent ones will not merge. Inline links can be deleted by pressing Backspace or Delete twice: the first press selects the link to help the author understand what will happen.

Use this family for elements that link to other content managed by Fonto's reference system.

The following visualization options are visualized by this family:

  • baseline

  • fontStack

  • isMonospaced

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. referencePermanentIdAttributeName String
5. options CvkOptions