Support for Rich Text Input (#630)

* Support for Rich Text Input

* rich text support for prefilled

* apply Purify for rich_text

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
Chirag Chhatrala
2024-11-28 20:42:24 +05:30
committed by GitHub
parent e2c6af69e6
commit 13c40f6e54
6 changed files with 26 additions and 4 deletions

View File

@@ -193,6 +193,7 @@ export default {
rafId: null,
fieldComponents: {
text: shallowRef(OpenText),
rich_text: shallowRef(OpenText),
number: shallowRef(OpenText),
rating: shallowRef(OpenText),
scale: shallowRef(OpenText),

View File

@@ -1,7 +1,5 @@
<template>
<span>
{{ value }}
</span>
<div v-html="value" />
</template>
<script>