The middle lamella mainly contains
Ca
Mg
K
Na
Calcium is required for the synthesis of pectin in the middle lamella of the cell wall.