diff --git a/packages/react/src/test/__snapshots__/reactFile/basic/internal.html b/packages/react/src/test/__snapshots__/reactFile/basic/internal.html index da6935c5ea..b3e7b4955b 100644 --- a/packages/react/src/test/__snapshots__/reactFile/basic/internal.html +++ b/packages/react/src/test/__snapshots__/reactFile/basic/internal.html @@ -1 +1 @@ -

example

Caption

\ No newline at end of file +

example

Caption

\ No newline at end of file diff --git a/packages/react/src/test/__snapshots__/reactFile/button/internal.html b/packages/react/src/test/__snapshots__/reactFile/button/internal.html index 8b639920d1..907517c5c2 100644 --- a/packages/react/src/test/__snapshots__/reactFile/button/internal.html +++ b/packages/react/src/test/__snapshots__/reactFile/button/internal.html @@ -1 +1 @@ -

Add file

\ No newline at end of file +
Add file
\ No newline at end of file diff --git a/packages/react/src/test/__snapshots__/reactFile/nested/internal.html b/packages/react/src/test/__snapshots__/reactFile/nested/internal.html index 1983bdaba2..393a59c490 100644 --- a/packages/react/src/test/__snapshots__/reactFile/nested/internal.html +++ b/packages/react/src/test/__snapshots__/reactFile/nested/internal.html @@ -1 +1 @@ -

example

Caption

example

Caption

\ No newline at end of file +

example

Caption

example

Caption

\ No newline at end of file diff --git a/packages/react/src/test/__snapshots__/reactFile/noCaption/internal.html b/packages/react/src/test/__snapshots__/reactFile/noCaption/internal.html index b51c375d9f..0a97c8d9b1 100644 --- a/packages/react/src/test/__snapshots__/reactFile/noCaption/internal.html +++ b/packages/react/src/test/__snapshots__/reactFile/noCaption/internal.html @@ -1 +1 @@ -

example

\ No newline at end of file +

example

\ No newline at end of file diff --git a/packages/react/src/test/__snapshots__/reactFile/noName/internal.html b/packages/react/src/test/__snapshots__/reactFile/noName/internal.html index 1558ee2a2c..e957d5681b 100644 --- a/packages/react/src/test/__snapshots__/reactFile/noName/internal.html +++ b/packages/react/src/test/__snapshots__/reactFile/noName/internal.html @@ -1 +1 @@ -

Caption

\ No newline at end of file +

Caption

\ No newline at end of file diff --git a/packages/react/src/test/__snapshots__/reactImage/basic/internal.html b/packages/react/src/test/__snapshots__/reactImage/basic/internal.html index d6ccc07107..bc328151fe 100644 --- a/packages/react/src/test/__snapshots__/reactImage/basic/internal.html +++ b/packages/react/src/test/__snapshots__/reactImage/basic/internal.html @@ -1 +1 @@ -
example

Caption

\ No newline at end of file +

Caption

\ No newline at end of file diff --git a/packages/react/src/test/__snapshots__/reactImage/button/internal.html b/packages/react/src/test/__snapshots__/reactImage/button/internal.html index 1af0abaabd..9b2a2f447f 100644 --- a/packages/react/src/test/__snapshots__/reactImage/button/internal.html +++ b/packages/react/src/test/__snapshots__/reactImage/button/internal.html @@ -1 +1 @@ -

Add image

\ No newline at end of file +
Add image
\ No newline at end of file diff --git a/packages/react/src/test/__snapshots__/reactImage/nested/internal.html b/packages/react/src/test/__snapshots__/reactImage/nested/internal.html index 4cd1b764ce..05f0a4e7ea 100644 --- a/packages/react/src/test/__snapshots__/reactImage/nested/internal.html +++ b/packages/react/src/test/__snapshots__/reactImage/nested/internal.html @@ -1 +1 @@ -
example

Caption

example

Caption

\ No newline at end of file +

Caption

Caption

\ No newline at end of file diff --git a/packages/react/src/test/__snapshots__/reactImage/noCaption/internal.html b/packages/react/src/test/__snapshots__/reactImage/noCaption/internal.html index 0874d2e700..29537a20ad 100644 --- a/packages/react/src/test/__snapshots__/reactImage/noCaption/internal.html +++ b/packages/react/src/test/__snapshots__/reactImage/noCaption/internal.html @@ -1 +1 @@ -
example

\ No newline at end of file +
\ No newline at end of file diff --git a/packages/react/src/test/__snapshots__/reactImage/noName/internal.html b/packages/react/src/test/__snapshots__/reactImage/noName/internal.html index 87a8903eb9..a16987a46c 100644 --- a/packages/react/src/test/__snapshots__/reactImage/noName/internal.html +++ b/packages/react/src/test/__snapshots__/reactImage/noName/internal.html @@ -1 +1 @@ -
Caption

Caption

\ No newline at end of file +

Caption

\ No newline at end of file diff --git a/packages/react/src/test/__snapshots__/reactImage/noPreview/internal.html b/packages/react/src/test/__snapshots__/reactImage/noPreview/internal.html index b62dc979a5..eb28e8394d 100644 --- a/packages/react/src/test/__snapshots__/reactImage/noPreview/internal.html +++ b/packages/react/src/test/__snapshots__/reactImage/noPreview/internal.html @@ -1 +1 @@ -

example

Caption

\ No newline at end of file +

example

Caption

\ No newline at end of file diff --git a/packages/react/src/test/testCases/customReactBlocks.tsx b/packages/react/src/test/testCases/customReactBlocks.tsx index 53882ace31..20ce827a67 100644 --- a/packages/react/src/test/testCases/customReactBlocks.tsx +++ b/packages/react/src/test/testCases/customReactBlocks.tsx @@ -68,8 +68,8 @@ const ReactContextParagraph = createReactBlockSpec( const schema = BlockNoteSchema.create({ blockSpecs: { ...defaultBlockSpecs, - reactFile: ReactFileBlock, - reactImage: ReactImageBlock, + file: ReactFileBlock, + image: ReactImageBlock, reactCustomParagraph: ReactCustomParagraph, simpleReactCustomParagraph: SimpleReactCustomParagraph, reactContextParagraph: ReactContextParagraph,