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

    v-html doesn't break html to new lines as expected for web mobile resolution

    Framework
    1
    1
    143
    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.
    • A
      aXiDz last edited by aXiDz

      Hello Guys and Gals,
      I’m trying to use q-editor to create articles with html attributes, saving it as a string, and afterwards i’m showing it with <div v-html=“myString” />
      When showing string with mustaches, raw, it’s being broken properly in flex:
      1f2ae3e3-985b-4ff1-b1b5-1df6b9801f8c-image.png
      when string in v-html:
      34e90a83-d824-4c2e-8eb5-1320faba58b8-image.png
      html works properly but it won’t start new lines + it offsets whole layout. Though to break it by characters on input, but won’t be that effective. Maybe add to some kind of container, there has to be a way to limit or control lines for v-html directive, it’s not very mobile friendly currently.

      Any idea how to tackle this?

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