Closed Bug 11975 Opened 25 years ago Closed 25 years ago

heading style not getting copied for paste.

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

VERIFIED WONTFIX

People

(Reporter: sujay, Assigned: akkzilla)

Details

using 8/16 build of apprunner

1) launch apprunner
2) launch editor
3) copy "Here's the deal"
4) paste it in front of "This is a good place"

Notice it gets copied, but loses its style(H1).

all platforms.
Assignee: buster → akkana
reassign to akkana
Status: NEW → ASSIGNED
This is because the selection only contains the text node, not the H1 node
containing the text node.

Perhaps the output routines need to be smarter about this, e.g. if the selection
is a text node inside an inline node, include the first inline node parent.  Or
something.  I'll start a discussion on the editor newsgroup to see what people
think.
Summary: style not getting copied for paste. → heading style not getting copied for paste.
Turns out that 4.61 doesn't do this either, on Unix or Windows, at least.  So
this but is a candidate for WONTFIX or, perhaps, LATER, though I've opened up
discussion on the newsgroup to see if anyone feels strongly about it.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
Opinion in the newsgroup on what we should do seemed mixed; but no one felt
strongly about it.  Since this is something we didn't do in 4.x either, I'm
marking it WONTFIX.
Status: RESOLVED → VERIFIED
verified in 8/24 build.
setting to an approximate milestone so it can be off of the no TFV list
Target Milestone: --- → M8
You need to log in before you can comment on or make changes to this bug.