Type: Function

Determines whether the given node is visualized as a block. Nodes of a block-level family are of block layout, like configureAsFrame frame, configureAsStructure structure or configureAsBlock block.

Note that this does not mean this node is inside another block layout. Use fonto:in-inline-layout to determine the expected layout of this node.

If block elements are used in spaces where they are expected to be inline, the element will be formatted as a block but keyboard behavior and layout might not be as expected.

This function directly uses the configured family for the given node. It may therefore not be used in configuration to determine the family for this node.

A common use case for this function is in XPath queries.


# Name Type Description
1. node Node

The node to check


Type: Boolean

Whether the node is defined as block layout

Was this page helpful?