feat(documents): render markdown as rich text in editor

This commit is contained in:
Ruslan Bakiev
2026-02-23 14:54:03 +07:00
parent 60b9bb9fd1
commit 40a225783d
2 changed files with 149 additions and 0 deletions

View File

@@ -182,6 +182,7 @@ onBeforeUnmount(() => {
<ContactCollaborativeEditor
:key="`doc-editor-${props.selectedDocument.id}`"
:model-value="props.selectedDocument.body"
:markdown="true"
:room="`crm-doc-${props.selectedDocument.id}`"
placeholder="Describe policy, steps, rules, and exceptions..."
@update:model-value="emit('update-selected-document-body', $event)"