Block settings with InnerBlocks and InspectorControls does not show up in settings pane

I am trying to build a block element for my plugin. I want it to have block settings showing up on the right side (under the “block” tab). I am creating an InspectorControls element and returning that along side my block.

The documentation (https://developer.wordpress.org/block-editor/tutorials/block-tutorial/block-controls-toolbar-and-sidebar/) states if you include an InspectorControls element in the return value of your block type’s edit function, those controls will be shown in the Settings Sidebar region.

However, my settings pane does not show up when clicking my block. Only settings such as color (inheritet from core/button I assume).

I have tried to return an array of elements (2nd code example) and having the settings as a child to my block (1st code snippet)

I am sure that I am missing something or misusing something. I am totally new to WP-development.

I have also tried returning an array of elements as per https://developer.wordpress.org/block-editor/tutorials/block-tutorial/block-controls-toolbar-and-sidebar/

Xin chào các bạn và quý Thầy Cô. Hãy nhập từ khóa mình muốn vào ô tìm kiếm trên Website để tìm kiếm mọi thứ hoặc trên google các bạn hãy nhập từ khóa + dethihsg247.com để tìm kiếm các bài viết của chúng tôi nhé.
  • Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
  • Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
  • Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.

Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com