mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-05 02:12:26 +03:00
Fix h1/h2/h3 in inbox (#7570)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
parent
7101c3524f
commit
c25449d429
@ -62,12 +62,6 @@
|
||||
<LiteNodes {nodes} />
|
||||
{:else if node.type === MarkupNodeType.horizontal_rule}
|
||||
<!-- nothing-->
|
||||
{:else if node.type === MarkupNodeType.heading}
|
||||
{@const level = toNumber(node.attrs?.level) ?? 1}
|
||||
{@const element = `h${level}`}
|
||||
<svelte:element this={element}>
|
||||
<LiteNodes {nodes} />
|
||||
</svelte:element>
|
||||
{:else if node.type === MarkupNodeType.code_block}
|
||||
<p class="p-inline contrast" class:overflow-label={true} style:margin="0">
|
||||
<NodeMarks
|
||||
|
Loading…
Reference in New Issue
Block a user