-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs for table caption got a demo snippet.
- Loading branch information
Showing
4 changed files
with
44 additions
and
65 deletions.
There are no files selected for viewing
74 changes: 29 additions & 45 deletions
74
packages/ckeditor5-table/docs/_snippets/features/table-caption.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,32 @@ | ||
<div id="snippet-table-caption"> | ||
<p>The ultimate table of <a href="https://en.wikipedia.org/wiki/List_of_coffee_drinks">coffee drinks</a>:</p> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th rowspan="2"></th> | ||
<th scope="col" rowspan="2">☕️ Espresso</th> | ||
<th scope="colgroup" colspan="2">🥛 Milk</th> | ||
<th scope="col" rowspan="2">🚰 Water</th> | ||
</tr> | ||
<tr> | ||
<th scope="col">Steamed</th> | ||
<th scope="col">Foam</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<th scope="row">Cappuccino</th> | ||
<td>✅ yes</td> | ||
<td>✅ yes</td> | ||
<td>✅ yes</td> | ||
<td>❌ no</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">Macchiato</th> | ||
<td>✅ yes</td> | ||
<td>❌ no</td> | ||
<td>✅ yes</td> | ||
<td>❌ no</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">Latte</th> | ||
<td>✅ yes</td> | ||
<td>✅ yes</td> | ||
<td>❌ no</td> | ||
<td>❌ no</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">Americano</th> | ||
<td>✅ yes</td> | ||
<td>❌ no</td> | ||
<td>❌ no</td> | ||
<td>✅ yes</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<figure class="table"> | ||
<table> | ||
<tbody> | ||
<tr> | ||
<td> | ||
<p style="text-align:center;">Friendly</p> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<p style="text-align:center;">Intelligent</p> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<p style="text-align:center;">Generally good with people</p> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<p style="text-align:center;">Has a lot of energy</p> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<figcaption> | ||
The <a href="https://en.wikipedia.org/wiki/Norwegian_Forest_cat#Personality">Norwegian Forest cat</a> personality traits. | ||
</figcaption> | ||
</figure> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters