Opened 8 years ago

Closed 8 years ago

#6903 closed Bug (wontfix)

IE: Additional &nbsp is appended to 'empty' initial content (enter mode=DIV)

Reported by: Damian Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: IBM IE Cc: joek, Satya Minnekanti, james c

Description

When setting the content of a document with an empty div e.g.

   editor.setData('<div></div>');

The editor will insert an unnecessary &nbsp; into the content. The user is then required to remove this extra space. This has been found to happen in IE but not in FF.

For this test case the enter mode is DIV.

Change History (2)

comment:1 Changed 8 years ago by Krzysztof Studnik

Keywords: IE added
Status: newconfirmed
Version: 3.0

comment:2 Changed 8 years ago by Garry Yao

Resolution: wontfix
Status: confirmedclosed

Unless we find a better way to reveal empty block (like div) in IE<7, it's mandatory for us to have this one (redundant) whitespace.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy