mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-09 01:10:17 +00:00
UBERF-6657 Fix gmail message format (#5419)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
parent
207b8f9f50
commit
817c026d6f
@ -24,7 +24,7 @@
|
|||||||
import { createQuery, getClient } from '@hcengineering/presentation'
|
import { createQuery, getClient } from '@hcengineering/presentation'
|
||||||
import { Integration } from '@hcengineering/setting'
|
import { Integration } from '@hcengineering/setting'
|
||||||
import templates, { TemplateDataProvider } from '@hcengineering/templates'
|
import templates, { TemplateDataProvider } from '@hcengineering/templates'
|
||||||
import { EmptyMarkup, htmlToMarkup, isEmptyMarkup } from '@hcengineering/text'
|
import { EmptyMarkup, isEmptyMarkup, markupToHTML } from '@hcengineering/text'
|
||||||
import { StyledTextEditor } from '@hcengineering/text-editor'
|
import { StyledTextEditor } from '@hcengineering/text-editor'
|
||||||
import { Button, EditBox, IconArrowLeft, IconAttachment, Label, Scroller } from '@hcengineering/ui'
|
import { Button, EditBox, IconArrowLeft, IconAttachment, Label, Scroller } from '@hcengineering/ui'
|
||||||
import { createEventDispatcher, onDestroy } from 'svelte'
|
import { createEventDispatcher, onDestroy } from 'svelte'
|
||||||
@ -71,7 +71,7 @@
|
|||||||
plugin.space.Gmail,
|
plugin.space.Gmail,
|
||||||
{
|
{
|
||||||
...obj,
|
...obj,
|
||||||
content: htmlToMarkup(content),
|
content: markupToHTML(content),
|
||||||
attachments: attachments.length,
|
attachments: attachments.length,
|
||||||
from: selectedIntegration.createdBy,
|
from: selectedIntegration.createdBy,
|
||||||
copy: copy
|
copy: copy
|
||||||
|
Loading…
Reference in New Issue
Block a user