configureAsGroupWithLine

How to get configureAsGroupWithLine

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

Type: Function

If pressing Shift+Enter should create a new line, use this family. Pressing Enter will then split the parent element.

Groups are not visible by default. Displaying its children next to each other, without whitelines between them, indicates the group. Use expression: 'compact' to accomplish this.

Pressing Enter will first split the Block found within the Group, pressing Shift+Enter will create a new line.

If pressing Shift+Enter should create a new line, use this family. Pressing Enter will then split the parent element.

Use the breakElements option to set the elements which function as break elements. This is an array of nodeNames

The following visualization options are visualized by the group with group with line family:

  • expression

  • textAlign

The following widget areas are available:

  • blockHeaderLeft

  • blockHeaderRight

  • blockBefore

  • blockAfter

  • blockFooter

  • blockOutsideBefore

  • blockOutsideAfter

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