Type: Function

How to get configureAsBlock?


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

Blocks can only contain inline content and are as such an end point of the vertical flow of a document.

Blocks are recognizable by their textual content and whitelines. Optionally, the text can be formatted using a number of visualization options.

Blocks can be split or created by pressing Enter.

Paragraphs are the most obvious example of this family.

The following visualization options are visualized by the block family:

  • baseline

  • case

  • endDelimiter

  • fontStack

  • isMonospaced

  • lineThroughStyle

  • overlineStyle

  • slant

  • startDelimiter

  • textAlign

  • underlineStyle

  • weight

The following widget areas are available:

  • blockHeaderLeft

  • blockHeaderRight

  • blockBefore

  • blockAfter

  • blockFooter

  • blockOutsideBefore

  • blockOutsideAfter


  1. sxModule


    Type: SxModule

  2. selector


    Type: XPathTest

  3. markupLabel


    Type: String

  4. options