-
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 #746 from ckeditor/t/711
Allow to drag widget only with left mouse button
- Loading branch information
Showing
6 changed files
with
88 additions
and
5 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,14 @@ | ||
<div id="editor"> | ||
<figure class="image"> | ||
<img alt="Lena" width="100" height="100" src="../../../_assets/lena.jpg" /> | ||
<figcaption>Caption</figcaption> | ||
</figure> | ||
<p>Hello world!</p> | ||
<p>Some more text</p> | ||
</div> | ||
|
||
<script> | ||
CKEDITOR.replace( 'editor', { | ||
height: 300 | ||
} ); | ||
</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,9 @@ | ||
@bender-tags: widget, bug, 4.8.0, 711 | ||
@bender-ui: collapsed | ||
@bender-ckeditor-plugins: widget, wysiwygarea, toolbar, sourcearea, image2, contextmenu | ||
|
||
**Scenario:** | ||
|
||
1. Use the left mouse button to drag and drop image inside the editor. ***Expected result:*** Image has been dragged and dropped. | ||
2. Mouse over the image and click right mouse button. ***Expected result:*** Context menu has been opened. | ||
3. Mouse over the image and try to drag and drop by using right mouse button. ***Expected result:*** It's not possible to drag an image. |
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