Why not stay with the simple 5 line code to handle HTML and also PHP inside the regular text widget ?

https://wploop.com/run-php-code-text-widget-wordpress/

Unless this new widget supports PHP ?