What happened?
Description
i noticed that {% js %} blocks in widget Twig templates that worked in Craft 5 no longer execute for custom plugin widgets in Craft 6.
Example:
{% js %}
alert('test');
{% endjs %}
Expected behavior
the script should be registered/executed
Craft CMS version
6.0.0-alpha.6
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
What happened?
Description
i noticed that
{% js %}blocks in widget Twig templates that worked in Craft 5 no longer execute for custom plugin widgets in Craft 6.Example:
Expected behavior
the script should be registered/executed
Craft CMS version
6.0.0-alpha.6
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions