From 28c0fcaa22bb7756c6aeac5fc57dca5a0d9d687a Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Wed, 30 Aug 2023 09:41:48 +0200 Subject: [PATCH] add examples for NcRichContenteditable.vue output Signed-off-by: Maksim Sukharev (cherry picked from commit 31db00d409bbd4ff02bb7ec020cda215350c57f7) --- .../NcRichContenteditable.vue | 26 ++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/src/components/NcRichContenteditable/NcRichContenteditable.vue b/src/components/NcRichContenteditable/NcRichContenteditable.vue index ee3fe938ea..d14577edd8 100644 --- a/src/components/NcRichContenteditable/NcRichContenteditable.vue +++ b/src/components/NcRichContenteditable/NcRichContenteditable.vue @@ -47,16 +47,26 @@ This component displays contenteditable div with automated `@` [at] autocompleti :user-data="userData" placeholder="Try mentioning user @Test01 or inserting emoji :smile" @submit="onSubmit" /> -
-
+ +
Output - raw
{{ JSON.stringify(message) }} + +
Output - preformatted
+

{{ message }}

+ +
Output - in NcRichText with markdown support
+ + ```