diff --git a/src/Components/Editor/Actions/ContainerOperations.ts b/src/Components/Editor/Actions/ContainerOperations.ts index d0dc7e4..4a05dfa 100644 --- a/src/Components/Editor/Actions/ContainerOperations.ts +++ b/src/Components/Editor/Actions/ContainerOperations.ts @@ -461,7 +461,9 @@ function ApplyAddMethod( ): number { if (index > 0 && ( containerConfig.AddMethod === undefined || - containerConfig.AddMethod === AddMethod.Append)) { + containerConfig.AddMethod === null || + containerConfig.AddMethod === AddMethod.Append + )) { // Append method (default) const lastChild: IContainerModel | undefined = parent.children .at(index - 1);