Skip to content

Commit

Permalink
Fix h1/h2/h3 in inbox
Browse files Browse the repository at this point in the history
  • Loading branch information
kristina-fefelova committed Dec 27, 2024
1 parent 4214ace commit 4d87e6f
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d87e6f

Please sign in to comment.