Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge branch 't/13879'
- Loading branch information
Showing
5 changed files
with
97 additions
and
19 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,36 @@ | ||
<head> | ||
<style type="text/css"> | ||
h2 { | ||
margin: 10px 0px 4px 0px; | ||
padding: 0; | ||
font-size: 14px; | ||
} | ||
</style> | ||
</head> | ||
<div> | ||
<h2>Helpers</h2> | ||
<div id="helpers"> | ||
<textarea style="width:49%; height:50px; float: left;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. In commodo vulputate tempor. Sed <b>at</b> elit.</textarea> | ||
<div style="width:49%; height:50px; float: right;"> | ||
<img height="40" alt="CKEditor logo" src="%BASE_PATH%_assets/logo.png" /> | ||
</div> | ||
<div style="clear:both;"></div> | ||
</div> | ||
</div> | ||
<div> | ||
<h2>Editor</h2> | ||
<div id="editor"> | ||
<p>I'm working!</p> | ||
</div> | ||
</div> | ||
<script> | ||
CKEDITOR.replace( 'editor', { | ||
on: { | ||
instanceReady: function( evt ) { | ||
evt.editor.document.on( 'drop', function( evt ) { | ||
evt.data.preventDefault(); | ||
} ); | ||
} | ||
} | ||
} ); | ||
</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-ui: collapsed | ||
@bender-tags: 4.5.5, tc, 13879, clipboard | ||
@bender-ckeditor-plugins: clipboard, wysiwygarea, toolbar, image2 | ||
|
||
1. Drag and drop text into the editor. | ||
2. Drag and drop image into the editor. | ||
|
||
**Expected:** | ||
* Text and image aren't pasted into the editor. |