We have updated the code example on the content sections page, as it was missing the "options" field within the settings schema. Both examples will now save correctly when you follow the process you outlined.

Hope this helps- let us know if there is anything else I can help with :)