Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3681

Support for script type="module"

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.2
    • Fix Version/s: None
    • Component/s: web - HTML Editor
    • Labels:
      None

      Description

      Currently, the below code is recognized as an error.

              <script type="module">
                  
              </script>
      

      see: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Script

      Workaround: Uncheck Tools > Options > Editor > Hints > Language: HTML > HTML Validator: Attributes

        Attachments

        1. nb-script-type-module-error.png
          2 kB
          Junichi Yamamoto

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              junichi11 Junichi Yamamoto
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: