-
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.
Merge pull request #5242 from ckeditor/t/4284
Fix merging cells with rowspan
- Loading branch information
Showing
6 changed files
with
119 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<div id="editor"> | ||
<table border="1" cellspacing="1" cellpadding="1" style="width:500px"> | ||
<tbody> | ||
<tr> | ||
<td> </td> | ||
<td> </td> | ||
<td> </td> | ||
</tr> | ||
<tr> | ||
<td> </td> | ||
<td rowspan="3"> </td> | ||
<td>1</td> | ||
</tr> | ||
<tr> | ||
<td> </td> | ||
<td>1</td> | ||
</tr> | ||
<tr> | ||
<td> </td> | ||
<td>1</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
<script> | ||
if ( bender.tools.env.mobile ) { | ||
bender.ignore(); | ||
} | ||
|
||
bender.tools.ignoreUnsupportedEnvironment( 'tableselection' ); | ||
|
||
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,11 @@ | ||
@bender-tags: 4.19.1, bug, 4284 | ||
@bender-ui: collapsed | ||
@bender-ckeditor-plugins: wysiwygarea, toolbar, undo, tableselection | ||
|
||
1. Open console. | ||
2. Select column with a rowspanned cell and cells containing `1` character. | ||
3. Open context menu and choose "Cell" -> "Merge cells" option. | ||
|
||
**Expected:** Cells are merged, undo step is created and there is error in the console. | ||
|
||
**Unexpected:** Cells are merged, an error is thrown and no undo step is created. |
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