Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using "selected" doens't load initially the contents of the tab if is not specified first. #388

Open
tomasts248 opened this issue Dec 4, 2023 · 0 comments

Comments

@tomasts248
Copy link

tomasts248 commented Dec 4, 2023

This happens with more than one tab and when the selected tab is not the first one specified as a "script" such as in this case example:

<script type="sample/html" filename="index.html">
  <!doctype html>
  <html>
    <head>
      <link rel="stylesheet" href="mi-hoja-de-estilos.css">
    </head>
    <body>
       <h1>Ok..</h1>
    </body>
  </html>
  </script>
  <script selected type="sample/css" filename="mi-hoja-de-estilos.css">

In this case on initial load the HTML content is displayed first, when instead it should display the CSS tab. Quick workaround is swaping those script tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant