Disallow button block being inserted directly to a column
[MAILPOET-5644]
This commit is contained in:
committed by
Jan Lysý
parent
499db0034c
commit
d5250cf8b8
@ -23,7 +23,8 @@ function disableNestedColumns() {
|
||||
if (
|
||||
allowedBlockType !== 'core/column' &&
|
||||
allowedBlockType !== 'core/columns' &&
|
||||
allowedBlockType !== 'core/list-item'
|
||||
allowedBlockType !== 'core/list-item' &&
|
||||
allowedBlockType !== 'core/button'
|
||||
) {
|
||||
allowedBlockTypes.push(allowedBlockType);
|
||||
}
|
||||
|
Reference in New Issue
Block a user