Skip to content

Commit

Permalink
Manual test for pasting images with link.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Samsel committed Oct 25, 2017
1 parent 5e91a6c commit 534af88
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<textarea id="editor" cols="30" rows="10"></textarea>
<script>
var editor = CKEDITOR.replace( 'editor' );
editor.on( 'loaded', function() {
if ( !CKEDITOR.plugins.clipboard.isCustomDataTypesSupported || CKEDITOR.env.iOS ) {
bender.ignore();
}
} );
</script>
16 changes: 16 additions & 0 deletions tests/plugins/pastefromwordimage/manual/pasteimagewithlink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@bender-tags: bug, 4.8.0, 662, pastefromwordimage
@bender-ui: collapsed
@bender-ckeditor-plugins: wysiwygarea, toolbar, undo, pastefromwordimage, sourcearea, elementspath, newpage, resize

----

1. Open document and copy whole content.
1. Clear editor content.
1. Paste copied content into CKEditor.

### Perform above steps for all files:
1. [Link_image.docx](../generated/_fixtures/Link_image/Link_image.docx)

**Expected:** Images is visible and pasted only once. Image is wrapped with an anchor link.

**Unexpected:** Image is not visible and/or img tag is placed twice.

0 comments on commit 534af88

Please sign in to comment.