diff --git a/src/components/RichText/components/RTBlock/components/RTBreak.astro b/src/components/RichText/components/RTBlock/components/RTBreak.astro
index 7d640b6..7b1a63d 100644
--- a/src/components/RichText/components/RTBlock/components/RTBreak.astro
+++ b/src/components/RichText/components/RTBlock/components/RTBreak.astro
@@ -21,11 +21,11 @@ const { node } = Astro.props;
>
) : node.fields.type === BreakBlockType.sceneBreak ? (
-
***
+ ***
) : node.fields.type === BreakBlockType.dottedLine ? (
-
+
) : node.fields.type === BreakBlockType.solidLine ? (
-
+
) : (
- {`${node.fields.anchorHash} `}
+
+ {`${node.anchorHash} `}
{node.fields.blockName}
) : context.depth === 2 ? (
-
- {`${node.fields.anchorHash} `}
+
+ {`${node.anchorHash} `}
{node.fields.blockName}
) : context.depth === 3 ? (
-
- {`${node.fields.anchorHash} `}
+
+ {`${node.anchorHash} `}
{node.fields.blockName}
) : context.depth === 4 ? (
-
- {`${node.fields.anchorHash} `}
+
+ {`${node.anchorHash} `}
{node.fields.blockName}
) : (
-
- {`${node.fields.anchorHash} `}
+
+ {`${node.anchorHash} `}
{node.fields.blockName}
)
diff --git a/src/shared/payload/payload-sdk.ts b/src/shared/payload/payload-sdk.ts
index 1f85a53..38ab7de 100644
--- a/src/shared/payload/payload-sdk.ts
+++ b/src/shared/payload/payload-sdk.ts
@@ -795,6 +795,16 @@ export interface CueBlock {
};
blockType: 'cueBlock';
}
+/**
+ * This interface was referenced by `Config`'s JSON-Schema
+ * via the `definition` "TranscriptBlock".
+ */
+export interface TranscriptBlock {
+ lines: (LineBlock | CueBlock)[];
+ id?: string | null;
+ blockName?: string | null;
+ blockType: 'transcriptBlock';
+}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "BreakBlock".
@@ -805,16 +815,6 @@ export interface BreakBlock {
blockName?: string | null;
blockType: 'breakBlock';
}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "TranscriptBlock".
- */
-export interface TranscriptBlock {
- lines: (LineBlock | CueBlock | BreakBlock)[];
- id?: string | null;
- blockName?: string | null;
- blockType: 'transcriptBlock';
-}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "SectionBlock".
@@ -1041,7 +1041,8 @@ export interface RichTextBlockNode extends RichTextNode {
}
export interface RichTextSectionBlock extends RichTextBlockNode {
- fields: SectionBlock & { anchorHash: string };
+ fields: SectionBlock;
+ anchorHash: string;
}
export interface RichTextTranscriptBlock extends RichTextBlockNode {
@@ -1050,6 +1051,7 @@ export interface RichTextTranscriptBlock extends RichTextBlockNode {
export interface RichTextBreakBlock extends RichTextBlockNode {
fields: BreakBlock;
+ anchorHash: string;
}
export const isNodeParagraphNode = (node: RichTextNode): node is RichTextParagraphNode =>