Issue 3150381: Allow TOC in block, when the node does not contain 'body' field
Compare changes
@@ -23,9 +23,9 @@ class TocFilterBlock extends TocBlockBase {
Closes #3150381
$node->hasField('body')
from TocFilterBlock.php blockAccess, which allows the block to be displayed on nodes that use alternative fieldsor does not contain a [toc] token return