Opened 7 years ago

Closed 4 years ago

#6960 closed Bug (wontfix)

Opera we can't copy the read only paragraphs [CORE-35866]

Reported by: Satya Minnekanti Owned by:
Priority: Normal Milestone:
Component: General Version: 3.4
Keywords: IBM Opera Safari Cc: Damian, joek, james, c, Hallvord R. M. Steen (Opera Software), satya_minnekanti@…

Description

To reproduce the defect:

  1. Copy the following code and paste it in to editor.
    <p contenteditable="false">
    	non editable paragraph.</p>
    <p>
    	editable paragraph.</p>
    
  1. select the entire text in non editable paragraph using mouse and Press Ctrl + C to copy the text.
  1. Press enter after last paragraph and press Ctrl + V to paste the copied content in step 2.

Expected Result:

content that we have copied in step 2 should be pasted.

Actual Result:

Nothing is pasted.

same behaviour happens when we have div's instead of paragraphs.

Change History (6)

comment:1 Changed 7 years ago by Garry Yao

Cc: james c Hallvord R. M. Steen (Opera Software) added; James removed
Keywords: Opera added
Status: newconfirmed

Any clipboard content drops only when contains document starts/ends with read-only blocks, works well in e.g.

<p>
	editable paragraph.</p>
<p contenteditable="false">
	non editable paragraph.</p>
<p>
	editable paragraph.</p>

comment:2 Changed 7 years ago by Garry Yao

Keywords: Safari added

In safari similar bug applied instead, select all doesn't make any text selection.

comment:3 Changed 7 years ago by Hallvord R. M. Steen (Opera Software)

reported @Opera as CORE-35866. Reproduced in a simple test:

data:text/html,<body contentEditable="true"><p contentEditable="false">Try to copy this text</p><p contentEditable="true">..then try to paste it here: </p></body>

comment:4 Changed 6 years ago by Satya Minnekanti

Cc: satya_minnekanti@… added

comment:5 Changed 6 years ago by Hallvord R. M. Steen (Opera Software)

Summary: Opera we can't copy the read only paragraphs.Opera we can't copy the read only paragraphs [CORE-35866]

comment:6 Changed 4 years ago by Piotrek Koszuliński

Resolution: wontfix
Status: confirmedclosed

Not reproducible on Opera 15+ (Blink).

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