Ticket #8799 (confirmed Bug)

Opened 3 years ago

Last modified 3 years ago

IE, FF: Delete/backspace keys remove anchor instead of joining paragraphs

Reported by: helsom Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6
Keywords: Firefox IE Cc:

Description

Assume you have the following content within the ckeditor:

    <p>This is</p>
    <p>[anchor] an anchor</p>

Where [anchor] is the anchor placeholder.

Placing the cursor at the end of the first paragraph and hitting the DELETE key causes the anchor to be removed whereas I would expect that the second paragraph would be merged into the first paragraph and the anchor retained. [IE9 and FF10]

Placing the cursor at the beginning of the second paragraph, and hitting the BACKSPACE key also removes the anchor. [IE9]

This seems to work as expected on Chrome (WebKit).

I tried this on the following nightly build sample, and it still seems to be an issue: http://nightly.ckeditor.com/7385/_samples/replacebyclass.html

Incidentally, hitting the ENTER key immediately before an anchor on this nightly build seems to cause the anchor to get vertically squished (see screenshot).

Attachments

ie9-Capture1-enter.PNG (1.8 KB) - added by helsom 3 years ago.
IE9 Squished Anchor on ENTER key

Change History

Changed 3 years ago by helsom

IE9 Squished Anchor on ENTER key

comment:1 Changed 3 years ago by j.swiderski

  • Keywords Firefox IE added
  • Status changed from new to confirmed
  • Version changed from 3.6.2 to 3.6
  • Summary changed from IE9, FF10: Delete/backspace keys remove anchor instead of joining paragraphs to IE, FF: Delete/backspace keys remove anchor instead of joining paragraphs

Sample code:

<p>
	This is</p>
<p>
	<a name="abc"></a>&nbsp;an anchor</p>

Reproducible form CKEditor 3.6 in Firefox and IE

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