Browse Source

Link and Image guides link to each other.

Kamil Piechaczek 5 years ago
parent
commit
e1cd20fd2e

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

@@ -1,10 +1,10 @@
 <div id="snippet-image-link">
 	<h3>Click me!</h3>
 
-	<figure class="image">
+	<figure class="image image-style-side">
 		<a href="https://cksource.com">
 			<img src="%BASE_PATH%/assets/img/fields.jpg" alt="Autumn fields">
 		</a>
-		<figcaption>CKEditor logo - caption</figcaption>
+		<figcaption>Autumn fields by Aleksander Nowodziński</figcaption>
 	</figure>
 </div>

+ 2 - 0
packages/ckeditor5-image/docs/features/image.md

@@ -191,6 +191,8 @@ The {@link module:link/linkimage~LinkImage} plugin adds support for linking imag
 </figure>
 ```
 
+Enabling linking images brings support for link editing to the rich-text editor. See the {@link features/link Link guide} to read more about the feature.
+
 {@snippet features/image-link}
 
 <info-box info>

+ 2 - 0
packages/ckeditor5-link/docs/features/link.md

@@ -283,6 +283,8 @@ editor.execute( 'link', 'http://example.com', { linkIsExternal: true } );
 editor.execute( 'unlink' );
 ```
 
+The package provides a plugin for {@link module:link/linkimage~LinkImage linking images}. See the {@link features/image#linking-images Linking images} section in the {@link features/image feature guide}.
+
 Links are represented in the {@link module:engine/model/model~Model model} using the `linkHref` attribute. [Manual link decorators](#adding-attributes-to-links-using-the-ui-manual-decorators) are represented in the model using text attributes corresponding to their names, as configured in {@link module:link/link~LinkConfig#decorators `config.link.decorators`}.
 
 <info-box>