Skip to content

Commit 7a16335

Browse files
authored
Update Doc: image prop width change to previewWidth (#1007)
1 parent 2ef1925 commit 7a16335

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/pages/docs/editor-basics/default-schema.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ type ImageBlock = {
9595
props: {
9696
url: string = "";
9797
caption: string = "";
98-
width: number = 512;
98+
previewWidth: number = 512;
9999
} & DefaultProps;
100100
content: undefined;
101101
children: Block[];
@@ -106,7 +106,7 @@ type ImageBlock = {
106106

107107
`caption:` The image caption.
108108

109-
`width:` The image width in pixels.
109+
`previewWidth:` The image previewWidth in pixels.
110110

111111
#### Table
112112

0 commit comments

Comments
 (0)