fn

isTextBlock

tested

Whether a block spec holds inline (text) content.

Signature

ts
export function isTextBlock(spec: NodeSpec): boolean{ ... }

Parameters

ParameterTypeDescription
specNodeSpec—

Returns

boolean