Added
- Added the Min Levels field setting (added
benf\neo\Field::$minLevels
) - Added the Min Top-Level Blocks field setting (added
benf\neo\Field::$minTopBlocks
) - Added the Enabled block type setting (added
benf\neo\models\BlockType::$enabled
and added theenabled
column to theneoblocktypes
table) - Added the Min Blocks block type setting (added
benf\neo\models\BlockType::$minBlocks
and added theminBlocks
column to theneoblocktypes
table) - Added the Min Sibling Blocks of This Type block type setting (added
benf\neo\models\BlockType::$minSiblingBlocks
and added theminSiblingBlocks
column to theneoblocktypes
table) - Added the Min Child Blocks block type setting (added
benf\neo\models\BlockType::$minChildBlocks
and added theminChildBlocks
column to theneoblocktypes
table) - Added
benf\neo\console\controllers\BlockTypesController::$setEnabled
(added the--set-enabled
option to thephp craft neo/block-types/edit
console command) - Added
benf\neo\console\controllers\BlockTypesController::$unsetEnabled
(added the--unset-enabled
option to thephp craft neo/block-types/edit
console command) - Added
benf\neo\console\controllers\BlockTypesController::$setMinBlocks
(added the--set-min-blocks
option to thephp craft neo/block-types/edit
console command) - Added
benf\neo\console\controllers\BlockTypesController::$setMinSiblingBlocks
(added the--set-min-sibling-blocks
option to thephp craft neo/block-types/edit
console command) - Added
benf\neo\console\controllers\BlockTypesController::$setMinChildBlocks
(added the--set-min-child-blocks
option to thephp craft neo/block-types/edit
console command)
Changed
- Restored the ability to show Linkit field content in collapsed block previews
Fixed
- Fixed a bug when saving an element, where Neo fields weren't being validated on block types' Max Blocks settings, unless at least one of the Neo field's Max Top-Level Blocks and Max Levels settings were set
- Fixed a bug where copying and pasting a block type would not copy the old block type's description to the new block type
- Fixed a bug where collapsed block previews were still displaying after expanding a block
- Fixed a bug where collapsed block previews were not displaying the content of multi-line plain text fields
- Fixed a bug on multi-site Craft installs, where a provisional draft being created with an unedited Neo field could cause the Neo field's block structure not to be created for the provisional draft, if the Neo field's propagation method was set to "Only save blocks to the site they were created in"
- Fixed a bug where disabled Neo input blocks could appear to be enabled, and selecting the disable action on these blocks would have no effect
- Fixed a bug where disabled Neo input blocks could sometimes not appear, if there were validation errors when saving an element