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

Implement v-clamp with v-html #14

Closed
ChunAllen opened this issue Jun 11, 2019 · 4 comments
Closed

Implement v-clamp with v-html #14

ChunAllen opened this issue Jun 11, 2019 · 4 comments

Comments

@ChunAllen
Copy link

I'm currently using Vuetify and Vue-Clamp
The body contains html elements such as span, <b></b>, <p></p> etc...

I tried

<div class="caption mb-3">
    <v-clamp autoresize :max-lines="10" v-html="body"></v-clamp>
</div>

and

<v-clamp autoresize :max-lines="10">
   <div class="caption mb-3" v-html="body"></body>
</v-clamp>

But both approach doesn't work

@Justineo
Copy link
Owner

Duplicate of #13

@Justineo Justineo marked this as a duplicate of #13 Jun 11, 2019
@brmdbr
Copy link

brmdbr commented Oct 12, 2020

@ChunAllen Have you found a solution for this? Running into the same problem.

@drayanaindra
Copy link

Hi, i also have same issue. Any suggestion to solve this issue?

@mateholik
Copy link

Hey, Im also waiting for v-html solution on v-clamp

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

5 participants