Opened 14 years ago

Closed 14 years ago

#4508 closed New Feature (fixed)

Paste plain text linebreaks alignment with v2

Reported by: Garry Yao Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.1
Component: Core : Pasting Version:
Keywords: Confirmed Cc:

Description

We should align the line break logic in plain text insertion with what back in v2.

	// TODO: Replace the following with fill line break processing (see V2).
	text = text.replace( /(?:\r\n)|\n|\r/g, '<br>' );

Attachments (1)

4508.patch (20.0 KB) - added by Garry Yao 14 years ago.

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by Garry Yao

Attachment: 4508.patch added

comment:1 Changed 14 years ago by Garry Yao

Component: Core : Output DataCore : Pasting
Keywords: Review? added
Owner: set to Garry Yao
Status: newassigned

Note: the patch is for the pasting branch instead of trunk.

comment:2 Changed 14 years ago by Garry Yao

Keywords: Review? removed

Under reviewing in 'paste' branch.

comment:3 Changed 14 years ago by Garry Yao

The paste branch has been reviewed and merged into 3.1.x branch with [4772].

comment:4 Changed 14 years ago by Garry Yao

Resolution: fixed
Status: assignedclosed
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