How to get configureAsBlock

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

Type: Function

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


# Name Type Description
1. sxModule SxModule
2. selector XPathTest
3. markupLabel String
4. options CvkOptions
Was this page helpful?