When a ui-template widget is dragged onto the editor, it has a default type of Widget (Group-Scoped)
and default content, including <template>
, <script>
and <style>
sections.
I can put CSS in the style section and it is applied as expected.
However, if I change the widget type to CSS (Single Page)
or CSS (All Pages)
the presence of <template>
, <script>
or <style>
tags breaks the CSS.
Shouldn't CSS be accepted in a CSS type template even if it is within <style> ... </style>
tags?