No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Style tag in meta plugin supported?

    Help
    3
    5
    352
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hexillion last edited by

      I tried using meta like this

       style: {
                test: {
                  innerHtml: `border: 10px solid #000`,
                },
              },
      

      this does not seem to work, but the meta plugin docs say one should be able to add/remove/change <style> and <script> tags.
      Am i doing something wrong here?

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by s.molinari

        Did you install it (add 'Meta' to the plugins prop in quasar.conf.js)?

        Scott

        H 1 Reply Last reply Reply Quote 1
        • H
          hexillion @s.molinari last edited by

          @s-molinari yes, i am using it throughout my app, only the style element seems to not work

          1 Reply Last reply Reply Quote 0
          • H
            hexillion last edited by

            does it have something to do with this functions in meta.js?

            function bodyFilter (name) {
              return ['class', 'style'].includes(name) === false
            }
            
            1 Reply Last reply Reply Quote 0
            • G
              Gigi last edited by

              Have you fixed that @hexillion ? Got that issue too.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post