how to display text in html format in v-textarea element? #16412
Unanswered
timoshechkin
asked this question in
Q&A
Replies: 1 comment
-
I think you are trying to type HTML code into the textarea.
<template>
<v-textarea v-model="html"></v-textarea>
<div v-html="html"></div>
</template>
<script>
const html = ref("<h1>Hello World</h1>");
</script> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
how to display text in html format in v-textarea element?
Beta Was this translation helpful? Give feedback.
All reactions