The short answer here is no.
Widgets are written in PHP and blocks are written in JavaScript. Beyond that there pretty fundamental differences between the two paradigms in the sense of where they are stored, markup output approaches etc.
You could take the approach of a dynamic block where the block is rendered on the front end with PHP, but you’d still need to register a custom block in JavaScript ( as well as enqueue the files ) to be able to insert it into the Block Editor.
There may be plugins available that solve this, but I am not aware of any.
Hope this helps!
Related Posts:
- Find if widget block is active
- How to disable Widget Gutenberg Blocks?
- Is there an official email form widget or block?
- How to allow your custom widget as block in gutemberg editor
- isSavingPost() for widgets
- Is there any way to parse blocks inside widget area?
- How Migrate a Legacy Widget to block?
- WordPress 5.8 : display new widget
- Determine if a specific Gutenberg block is used on pages/posts
- When editing in block editor, the post/article gets under the floating widgets
- Widget block editor: Unable to collect checkbox values inside widget update() method
- getBlockVariations(…) is undefined in Widget and Template Part editors but not Post Editor
- Programmatically add widgets to sidebars
- changing wp-admin/widgets.php
- dynamically add scripts to WP_Widget widget() method
- Get Widget Instance inside Widget
- Add the sidebar/widget editor to the post edit screen?
- How do i manually place a widget code
- How to Validate Widget Input
- Remove before_widget / after_widget content from Wp_Widget_Text
- How to avoid widgets added to sidebar on theme activation?
- Display specific widgets in different area’s around the page
- Need help adding additional controls to a custom widget Part 2
- How to add the widgets manually to the sidebar?
- /images/image.jpg not working in sidebar
- Unable to save widget contents
- Use wp_enqueue_style based on user option in widget
- Creating a admin widget for /wp-admin/post.php?
- dynamic_sidebar() returns false in admin section
- Moving comments section to left of content (Twenty Thirteen)
- Custom Tag Cloud widget missing tags
- Adding custom html and standard widgets to sidebar
- How to add new sidebar widget area to child theme?
- passing variables inside a widget add_action
- Run JS after widget settings are saved?
- Shortcode displays always first. Once again
- Text Widget Links Not Working
- Display the id list of active widgets of same sidebar?
- How to remove a widget from the sidebar on specific page?
- Where do I save widget code for wordpress?
- Is there any way to print a widget by having its id?
- Remove image height/width attributes from Image Widget
- Need help using a filter on the default Categories widget
- Print owned created widget
- How to display an RSS feed widget inside a page?
- widget dropdown menu code
- Content of widgets keep disappearing over and over again
- custom widget does not saved value
- Add visual editor style only on widgets.php page
- php to add a link into wp widget without specific url
- Widget Select Options not saving
- Edit and make class-wc-widget-featured-products.php update-proof
- Display Widgets Horizontally in Area [closed]
- How to call widget by widget’s id?
- I have a widget area in my header. How can I have that display a different widget depending on what group is shown?
- How do widgets access posts they should display?
- How do I deactivate widgets by name?
- Remove links from meta widget
- Can’t display custom widget
- How to make home widgets appear horizontally
- add_action not working within widget() of WP_Wdiget
- WordPress custom widget undefined variable notice
- Multiple rows of footer widget areas
- How do I make the title of the following widget editable?
- Escape HTML on WP input
- how can i display all youtube videos from a users youtube account
- Link a widget or find the php that creates the widgets
- Issue with checked() echoing on to page
- Register new widget
- Problem with WP_Query loop and search term
- How to use register_sidebar’s ‘before_widget’ unique id generator into its other parameters like ‘before_title’?
- Set a dashboard widget to the top?
- How to decorate WP_Widget_Text?
- After adding widget the style is messing up
- Tabs widget from Elementor is not showing the content in it to users. But at admin side it is working fine
- Siderbar implementation with collapsible bootstrap cards
- Title not Emptying in a Widget
- How to implement widgets error output with data validation?
- Simple SCript Not Displayed in WIdth
- Conditionally Load a Script if a Certain Widget is Shown on a Page
- Where to add a widget class?
- Active Sidebar Conditional Question?
- Paginate recent posts widget
- Pass widget variable to external function
- Widget front-end fails to echo as expected from checkbox
- Creating an custom admin page for editing widgets
- Help me tidy up my widget code
- Neaten content — different widget or CSS change?
- Show or hide a widget from pages
- Author Link in Recent Posts Widget
- Custom widget breaking widget section in admin menu
- Unique widget id in sidebar
- Custom widgets do not appear in dashboard > appearance > widgets
- How to delete Jetpack Widgets from the Widgets page in admin panel [closed]
- Can’t use is_home in template-functions.php
- How can I order the “Woocommerce Products Widget” by the sales date? [closed]
- Widget does not work with WooCommerce enabled
- how to add multiple menu in custom menu widget?
- How can I add a toggle element into an image box element? [closed]
- Can’t edit the widgets sidebar or footer