-
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.
Add manual test for drag and drop mixed content in table
- Loading branch information
Showing
2 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
tests/plugins/tableselection/manual/draganddropmixedcontent.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,47 @@ | ||
<textarea id="editor"> | ||
<table border="1" cellpadding="1" cellspacing="1" style="width:500px"> | ||
<tbody> | ||
<tr> | ||
<td>--> <img alt="" src="http://via.placeholder.com/100" /> <br /> | ||
Lorem ipsum dolor <--<br /> | ||
sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. </td> | ||
<td>test</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<p> </p> | ||
|
||
<table border="1" cellpadding="1" cellspacing="1" style="width:500px"> | ||
<tbody> | ||
<tr> | ||
<td> </td> | ||
<td> </td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
<p> </p> | ||
</td> | ||
<td> </td> | ||
</tr> | ||
<tr> | ||
<td> </td> | ||
<td> </td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</textarea> | ||
|
||
<script> | ||
( function() { | ||
if ( bender.tools.env.mobile ) { | ||
return bender.ignore(); | ||
} | ||
|
||
bender.tools.ignoreUnsupportedEnvironment( 'tableselection' ); | ||
|
||
CKEDITOR.replace( 'editor', { | ||
height: 350 | ||
} ); | ||
} )(); | ||
</script> |
19 changes: 19 additions & 0 deletions
19
tests/plugins/tableselection/manual/draganddropmixedcontent.md
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 @@ | ||
@bender-tags: dialog, 4.17.1 547, bug | ||
@bender-ui: collapsed | ||
@bender-ckeditor-plugins: wysiwygarea, toolbar, table, tableselection, undo, sourcearea, elementspath, image, basicstyles | ||
|
||
**Note:** Before you start moving the selected mixed content text using D&D, hold down the left mouse button for a moment on selected text. | ||
|
||
1. Open browser's console. | ||
2. Select content between `--> <--`. | ||
3. Using drag&drop move selected content to other table cell. | ||
|
||
**Expected** | ||
|
||
* Selected content was moved properly. | ||
* The content looking good and there is no error in the console. | ||
|
||
**Unxpected** | ||
|
||
* Selected content was not moved. | ||
* There's error in the console. |