-
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
61 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
|
||
<textarea name="editor1" id="editor1" cols="30" rows="10"> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<p><img alt="" src="http://s1.ckeditor.com/themes/ckeditor4/images/slider-cke46-ea0c506c78.png" style="height:63px; width:200px" /></p> | ||
<p><img alt="cake" src="http://c.cksource.com/a/1/img/demo/brownie.jpg" style="height:133px; width:200px" /></p> | ||
|
||
<p> </p> | ||
|
||
<div style="float:right; padding:5px; width:210px"><a href="http://ckeditor.com/"><img alt="Focus jumps to the top of the editor" src="http://c.cksource.com/a/1/img/demo/brownie.jpg" style="height:133px; width:200px" /></a></div> | ||
|
||
<p> </p> | ||
|
||
<p> </p> | ||
</textarea> | ||
|
||
<script> | ||
if ( !CKEDITOR.env.ie ) { | ||
bender.ignore(); | ||
} | ||
|
||
CKEDITOR.replace( 'editor1' ); | ||
</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,16 @@ | ||
@bender-tags: tc, 4.7.0, 16845, copyformatting | ||
@bender-ui: collapsed | ||
@bender-ckeditor-plugins: copyformatting,toolbar,wysiwygarea,floatingspace,elementspath,image2,widget,justify,div | ||
|
||
## Test Scenario | ||
|
||
1. Make sure the editor is not focused and scroll it down. | ||
2. Select the image on the right by clicking it. | ||
|
||
## Expected | ||
|
||
Image is selected. | ||
|
||
## Unexpected | ||
|
||
The editor scrolls to the top. |