Opened 10 years ago

Last modified 9 years ago

#13436 closed Bug

[D&D] Inline image from inline editor — at Initial Version

Reported by: Szymon Cofalik Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

D&D image from inline editor into other editor have incorrect results.

Browser: Opera, maybe others.

Steps to reproduce:

  1. Setup your editors like this:
    <div id="classic">
    	<img alt="CKEditor logo" src="/tests/_assets/logo.png" />
    </div>
    <div id="inline" contenteditable="true">
    	<img alt="CKEditor logo" src="/tests/_assets/logo.png" />
    </div>
    <script>
    	CKEDITOR.replace( 'classic' );
    	CKEDITOR.inline( 'inline' );
    </script>
    
  2. Try to D&D the image from inline editor into classic editor.

Expected result: Image is correctly drag and dropped from one editor into another.

Result: Nothing happed.

Note: Everything works fine if you type some text, select the image with the text and D&D with the text.

Note: Same happens when the destination editor is also inline.

You can test it here: http://tests.ckeditor.dev:10450/tests/plugins/clipboard/manual/draganddrop

Change History (0)

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy