Opened 13 years ago

Closed 13 years ago

#6560 closed Bug (expired)

Pasting text in dialog box while RTL is enabled, pasted paragraph position is locked

Reported by: Krzysztof Studnik Owned by:
Priority: Normal Milestone:
Component: General Version: 3.4.2
Keywords: Cc:

Description

Test case

  • Open CKEditor sample (replace by class),and clear edit area
  • select and copy text from outside of the editor, with gorizontal line
  • inside edit area press right mouse button and select paste
  • dialog window opens, press right mouse button inside its text area
  • paste previously copied line and text
  • press OK
  • content is pasted into edit area in source view:
    p>
    	&nbsp;</p>
    <meta content="text/html; charset=utf-8" http-equiv="content-type" />
    <hr style="margin-top: 10px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; height: 1px; border-top-style: solid; border-right-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-left-width: 1px; border-top-color: gray; border-right-color: gray; border-left-color: gray; border-bottom-style: none; border-bottom-width: initial; border-bottom-color: initial; " />
    <p style="margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 10px; float: left; ">
    	CKEditor - The text editor for Internet -&nbsp;<a href="http://ckeditor.com/" rel="noreferrer">http://ckeditor.com</a></p>
    

When line is not copied, text is pasted as follows:

<p>
	CKEditor - The text editor for Internet -&nbsp;<a href="http://ckeditor.com/">http://ckeditor.com</a></p>

IMO there is too many formatting when <hr> is pasted

Found on Safari 4/Mac, confirmed on chrome 7/Linux

Change History (2)

comment:1 Changed 13 years ago by Garry Yao

Status: newpending

If we're talking about verbose styles from the clipboard, the original source content has to be provided to prove that.

comment:2 Changed 13 years ago by Jakub Ś

Resolution: expired
Status: pendingclosed

I was not able to get the results described in a ticked.

After consulting with @krst we decided to close this one as expired.

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