Gutenberg: Block SelectControl saves attributes but after a reload of Gutenberg it loads its defaults. Why?
The reason why the block editor uses the default value — for the max_level (“Maximum level”) attribute only — instead of the one parsed from the (block comment delimiter in the) saved post content, is because in the parsed/saved attributes, max_level is invalid. Why is it invalid: Because the type of the attribute (value) doesn’t … Read more