Opened 14 years ago

Closed 11 years ago

#5873 closed Bug (fixed)

Inconsistent behavior of insertHtml in IE and FF

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:

Description

When starting with the following html and selection (in wysiwyg mode):

<p><span style="color: #f00">text</span>^</p>

executing insertHtml (use _samples/api.html to check it) in IE8 results in:

<p><span style="color: #f00">textNEW_INSERTION</span></p>

in FF 3.6.3 the result is different:

<p><span style="color: #f00">text</span>NEW_INSERTION</p>

Change History (2)

comment:1 Changed 14 years ago by Wiktor Walc

Might be solved by #5309

comment:2 Changed 11 years ago by Piotrek Koszuliński

Resolution: fixed
Status: confirmedclosed

Fixed in 4.2. What may be still inconsistent is where the selection is placed - inside or outside inline element, but this is a different issue to always keep it in the same place.

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