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

  • 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:
    when string in v-html:
    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?

Log in to reply