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
6 changed files
with
117 additions
and
8 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
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,29 @@ | ||
<textarea cols="80" id="classic" name="classic" rows="10"> | ||
<table border="1" cellpadding="1" cellspacing="1" style="width:500px"> | ||
<tbody> | ||
<tr> | ||
<td style="background-color: rgb(102, 102, 204);">s</td> | ||
<td>s</td> | ||
</tr> | ||
<tr> | ||
<td>s</td> | ||
<td style="background-color: rgb(255, 255, 0);">s</td> | ||
</tr> | ||
<tr> | ||
<td style="background-color: rgb(255, 204, 0);">s</td> | ||
<td style="background-color: rgb(255, 204, 0);">s</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<p>Paste here</p> | ||
</textarea> | ||
|
||
<script> | ||
CKEDITOR.replace( 'classic', { | ||
allowedContent: true | ||
} ); | ||
|
||
if ( !CKEDITOR.env.chrome ) { | ||
bender.ignore(); | ||
} | ||
</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,48 @@ | ||
@bender-ui: collapsed | ||
@bender-tags: 4.5.5, tc | ||
@bender-ckeditor-plugins: clipboard, contextmenu, toolbar, wysiwygarea | ||
|
||
## Scenario 1: ### | ||
|
||
1. Select cells using mouse | ||
2. Ctrl+C | ||
3. Right-click inside 'Paste here'. | ||
4. Select Paste | ||
5. Paste into dialog using Ctrl+V. | ||
6. click OK | ||
|
||
Expected result: Table should be pasted *WITH* the formating. | ||
|
||
## Scenario 2: ### | ||
|
||
1-4. Same | ||
|
||
5a. Paste into dialog using Ctrl+V. | ||
|
||
5b. Paste into dialog again using Ctrl+V, so there are two tables. | ||
|
||
6 click OK | ||
|
||
Expected result: Same. | ||
|
||
## Scenario 3: ### | ||
|
||
1-4. Same | ||
|
||
5a. Paste into dialog using Ctrl+V. | ||
|
||
5b. Paste some content not from the editor. | ||
|
||
6 click OK | ||
|
||
Expected result: Table should be pasted *WITHOUT* the formating. | ||
|
||
## Scenario 4: ### | ||
|
||
1-4. Same | ||
|
||
5 Leave textarea empty. | ||
|
||
6 click OK | ||
|
||
Expected result: There should be no error. |
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