8
0
Просмотр исходного кода

Docs (image): Add information about changing image caption placement.

Maciej Gołaszewski 5 лет назад
Родитель
Сommit
1b065c186c
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      packages/ckeditor5-image/docs/features/image.md

+ 3 - 1
packages/ckeditor5-image/docs/features/image.md

@@ -76,7 +76,9 @@ The {@link module:image/imagecaption~ImageCaption} plugin adds support for image
 
 
 By default, if the image caption is empty, the `<figcaption>` element is not visible to the user. You can click the image to reveal the caption field and write one. See the demo below:
 By default, if the image caption is empty, the `<figcaption>` element is not visible to the user. You can click the image to reveal the caption field and write one. See the demo below:
 
 
-{@snippet features/image-caption}
+<info-box hint>
+	You can change the placement of the image caption by setting [`caption-side`](https://developer.mozilla.org/en-US/docs/Web/CSS/caption-side) in your {@link builds/guides/integration/content-styles content styles} for the `.ck-content .image > figcaption` style. Changing it to `caption-side: top` will display caption above the image.
+</info-box>
 
 
 ## Image upload
 ## Image upload