Opened 14 years ago

Closed 14 years ago

#5946 closed Bug (wontfix)

[FF] Cut commad removing paragraph id attribute.

Reported by: Joe Kavanagh Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: IBM Firefox CantFix Cc: Damian Satya Minnekanti

Description

  1. Copy the following HTML into an editor instance in source mode.

<p id="1">P1</p>

<p id="2">P2</p>

<p id="3">P3</p>

  1. Disable source mode.
  1. Select 'P2', start at the beginning of 'P2' and end the selection just before the text 'P3' in the next paragraph.
  1. Press Ctrl + X to Cut the text.
  1. Click the Source button to go to source mode.

Observe that the P3 paragraph is missing the id attribute: <p id="1">

P1</p>

<p>

P3</p>

Change History (8)

comment:1 Changed 14 years ago by Joe Kavanagh

Summary: Cut commd removing paragraph id attribute.[FF] Cut commd removing paragraph id attribute.

comment:2 Changed 14 years ago by Joe Kavanagh

Summary: [FF] Cut commd removing paragraph id attribute.[FF] Cut commad removing paragraph id attribute.

comment:3 Changed 14 years ago by Alfonso Martínez de Lizarrondo

Keywords: CantFix added
Milestone: CKEditor 3.4
Version: SVN (CKEditor)3.0

It's not only the Cut command, it also happens pressing Del, but this is something internal to Firefox, you can check that it also fails in http://www.mozilla.org/editor/midasdemo/

So the only thing that we can do is to check if there's a bug filed about this in bugzilla.

comment:4 Changed 14 years ago by Krzysztof Studnik

Resolution: worksforme
Status: newclosed

In Firefox 3.6.10 result of above is

<p>
	<pid=&quot;1&quot;&gt;>P1</pid=&quot;1&quot;&gt;></p>
<p id="2">
	&nbsp;</p>
<p id="3">
	P3</p>

Or either

<p id="1">
	P1</p>
<p id="2">
	&nbsp;</p>
<p id="3">
	P3</p>

So it probably is fixed in FF

comment:5 in reply to:  4 Changed 14 years ago by Satya Minnekanti

Replying to krst:

In Firefox 3.6.10 result of above is

<p>
	<pid=&quot;1&quot;&gt;>P1</pid=&quot;1&quot;&gt;></p>
<p id="2">
	&nbsp;</p>
<p id="3">
	P3</p>

Or either

<p id="1">
	P1</p>
<p id="2">
	&nbsp;</p>
<p id="3">
	P3</p>

So it probably is fixed in FF

I could still reproduce the issue in FF 3.6.10. i have verified it on nightly build.

comment:6 Changed 14 years ago by Frederico Caldeira Knabben

Resolution: worksforme
Status: closedreopened

I can definitely reproduce this issue on trunk. It's certainly a gecko issue, which needs to be reported before we could close this ticket.

comment:7 Changed 14 years ago by Frederico Caldeira Knabben

Keywords: Firefox added
Status: reopenedconfirmed

comment:8 Changed 14 years ago by Frederico Caldeira Knabben

Resolution: wontfix
Status: confirmedclosed

I've just reported it to Mozilla:
https://bugzilla.mozilla.org/show_bug.cgi?id=599317

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