Selaa lähdekoodia

Fix resize px snippet.

panr 5 vuotta sitten
vanhempi
commit
a607233aab

+ 2 - 2
packages/ckeditor5-image/docs/_snippets/features/image-resize-px.html

@@ -6,9 +6,9 @@
 		<figcaption>Autumn fields by Aleksander Nowodziński</figcaption>
 	</figure>
 
-	<h3>Resized image (width: 500px):</h3>
+	<h3>Resized image (width: 400px):</h3>
 
-	<figure class="image image_resized" style="width:500px;">
+	<figure class="image image_resized" style="width:400px;">
 		<img src="%BASE_PATH%/assets/img/fields.jpg" alt="Autumn fields">
 	</figure>
 </div>

+ 3 - 3
packages/ckeditor5-image/docs/_snippets/features/image-resize-px.js

@@ -24,9 +24,9 @@ ClassicEditor
 					value: '250'
 				},
 				{
-					name: 'imageResize:500',
-					label: '500px',
-					value: '500'
+					name: 'imageResize:400',
+					label: '400px',
+					value: '400'
 				}
 			],
 			styles: [