Class: Spina::Parts::NestedContentBlocks
- Inherits:
-
ContentBlocks
- Object
- Base
- ContentBlocks
- Spina::Parts::NestedContentBlocks
- Defined in:
- app/models/spina/parts/nested_content_blocks.rb
Overview
Same behavior as ContentBlocks but registered as a separate Part type with its own Stimulus controller name (“nested-content-blocks”). This avoids Stimulus scope conflicts when used inside Repeaters or other ContentBlocks containers.
Use ‘options` to limit which block types are available (prevents recursive nesting of the same block type).