diff --git a/packages/presentation/src/components/markup/NodeContent.svelte b/packages/presentation/src/components/markup/NodeContent.svelte index bcb3e01188..e43284dcb4 100644 --- a/packages/presentation/src/components/markup/NodeContent.svelte +++ b/packages/presentation/src/components/markup/NodeContent.svelte @@ -104,7 +104,7 @@ {:else if node.type === MarkupNodeType.taskItem} - {:else if node.type === MarkupNodeType.sub} + {:else if node.type === MarkupNodeType.subLink} diff --git a/packages/text/src/markup/model.ts b/packages/text/src/markup/model.ts index 0ba2fe4143..ceff9a84ac 100644 --- a/packages/text/src/markup/model.ts +++ b/packages/text/src/markup/model.ts @@ -30,7 +30,7 @@ export enum MarkupNodeType { list_item = 'listItem', taskList = 'taskList', taskItem = 'taskItem', - sub = 'sub', + subLink = 'subLink', table = 'table', table_row = 'tableRow', table_cell = 'tableCell', diff --git a/packages/text/src/markup/utils.ts b/packages/text/src/markup/utils.ts index 2020d37b52..fb90d069cb 100644 --- a/packages/text/src/markup/utils.ts +++ b/packages/text/src/markup/utils.ts @@ -99,7 +99,7 @@ const nonEmptyNodes = [ MarkupNodeType.horizontal_rule, MarkupNodeType.image, MarkupNodeType.reference, - MarkupNodeType.sub, + MarkupNodeType.subLink, MarkupNodeType.table ]