Parcourir la source

Tests: Added an image to the table selection manual test content.

Aleksander Nowodzinski il y a 5 ans
Parent
commit
5667a29f5f

+ 7 - 1
packages/ckeditor5-table/tests/manual/tableselection.html

@@ -52,7 +52,13 @@
 					<td>k</td>
 					<td>l</td>
 					<td><strong>m</strong></td>
-					<td>n</td>
+					<td>
+						<p>n</p>
+						<figure class="image image-style-side">
+							<img src="sample.jpg" />
+							<figcaption>Caption!</figcaption>
+						</figure>
+					</td>
 					<td>o</td>
 				</tr>
 				<tr>

+ 3 - 0
packages/ckeditor5-table/tests/manual/tableselection.js

@@ -31,6 +31,9 @@ function createEditor( target, inspectorName ) {
 				'bulletedList', 'numberedList', 'blockQuote', '|',
 				'undo', 'redo'
 			],
+			image: {
+				toolbar: [ 'imageStyle:full', 'imageStyle:side', '|', 'imageTextAlternative' ]
+			},
 			table: {
 				contentToolbar: [ 'tableColumn', 'tableRow', 'mergeTableCells', 'tableProperties', 'tableCellProperties' ]
 			}