Opened 13 years ago

Last modified 13 years ago

#7523 confirmed Bug

IE Can't Drag and Drop text outside of paragraph

Reported by: Michael Camden Owned by:
Priority: Normal Milestone:
Component: Core : Pasting Version: 3.0
Keywords: HasPatch Cc: camden.michael@…

Description

I'm unable to drag and drop text outside of any paragraph elements in IE.

Steps to reproduce:

  1. In the ckeditor demo, clear out all text leaving only a single paragraph.
  2. Select some text from a word document, and drag it to the editor.
  3. Anywhere below the first line the mouse cursor is crossed out, and a drop is disallowed.

Expected result:
Like in other browsers you should be able to drop text anywhere in the editor, regardless of if there is a paragraph tag there or not.

Change History (2)

comment:1 Changed 13 years ago by Jakub Ś

Keywords: ie drag and drop can't drop outside paragraph removed
Status: newconfirmed
Version: 3.5.23.0

It is impossible to drop text out side the paragraph in all versions of IE.

I couldn't drop anything in Opera 11.01 even inside paragraphs with text.

comment:2 Changed 13 years ago by Michael Camden

Keywords: HasPatch added

I've just discovered a fix for this. Basically IE needs to have the body, and html containers height specified before it will allow a drop. I've added this to my editor area css file...

html, body {
	height: 100%;
}
body {
	height: 95%\9;
	*height: 85%;
}

Due to the padding around the body, if you set the body height to 100% it will render a scroll bar. The height value changes fairly drastically in IE7 and below.

I have tested this method on IE 9,8,7 and FF 3.6.

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