Can't apply allowedOn a script tag

Wappler Version : 5.5.2

Expected behavior

If I use allowedOn on a script tag it should show the custom attribute in the UI.

Actual behavior

It doesn’t for script, but it does for a simple <div></div> so I’m assuming it’s a bug.

How to reproduce

allowedOn: {
  dmx-jonl1-cookie-consent: true, //works
  script: true, //doesn't work
  div: true //works