Site icon Hip-Hop Website Design and Development

Block-based Widgets Editor – learn how to allow a title

Utilizing the block-based widget editor, how do I add a widget title? I want to make the title a hyperlink to break down the widget physique utilizing bootstrap and register_sidebar:

register_sidebar([
  'name' => __('Main Sidebar', 'blog'),
  'id' => 'main-sidebar',
  'description' => __('Main sidebar widget area', 'blog'),
  'before_widget' => '<aside id="%1$s" class="widget %2$s">',
  'after_widget' => '<hr class="wp-block-separator my-5 is-style-wide"></div></aside>',
  'before_title' =>
    '<h3 class="widget-title"><a data-bs-toggle="collapse" href="#widget%1$s" role="button" aria-expanded="false" aria-controls="widget%1$s"><div id="widget%1$s">',
  'after_title' => '</a></h3>',
]);

However I see no method so as to add a title except utilizing legacy widgets. Has this area been eliminated?