-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
tests/plugins/tabletools/manual/cellpropertiescelltype.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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<h1>Editor 1:</h1> | ||
<div id="editor"> | ||
<table border="1"> | ||
<tbody> | ||
<tr> | ||
<td>Cell 1</td> | ||
<td>Cell 2</td> | ||
</tr> | ||
<tr> | ||
<td>Cell 3</td> | ||
<td>Cell 4</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
<script> | ||
CKEDITOR.replace( 'editor' ); | ||
</script> |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
@bender-tags: 4.20.0, 5084, feature | ||
@bender-ui: collapsed | ||
@bender-ckeditor-plugins: wysiwygarea, toolbar, table, tabletools | ||
|
||
**Note:** Please verify cell structure via toggling `Source` mode. | ||
|
||
1. Right click at any cell, and select `Cell` -> `Cell Properties`. | ||
|
||
**Expected** Cell has `Data` type. | ||
|
||
2. Change cell type to `Column Header`. | ||
|
||
**Expected** Cell has `th` type and `scope` attribute set on `col`. | ||
|
||
3. Right click at any cell, and select `Cell` -> `Cell Properties`. | ||
|
||
**Expected** Cell has `Column Header` type. | ||
|
||
4. Change cell type to `Row Header`. | ||
|
||
**Expected** Cell has `th` type and `scope` attribute set on `row`. | ||
|
||
5. Right click at any cell, and select `Cell` -> `Cell Properties`. | ||
|
||
**Expected** Cell has `Row Header` type. | ||
|
||
6. Change cell type to `Data`. | ||
|
||
**Expected** Cell has `td` type and do not have `scope` attribute. | ||
|
||
7. Play with cell types and verify if they type matches expectations from the above. |