Opened 7 months ago

Closed 7 months ago

#17010 closed New Feature (fixed)

[API] Range#shrink method should allow for skipping bogus BR elements

Reported by: Marek Lewandowski Owned by: Tomasz Jakut
Priority: Normal Milestone: CKEditor 4.7.0
Component: General Version: 4.7.0
Keywords: Cc:

Description (last modified by Marek Lewandowski)

Make a selection as follows on a browser that puts bogus BR (e.g. Firefox):

<table>
	<tr>
		[<td>Cell 1.1</td>]
	</tr>
</table>

Try to call range.shrink( CKEDITOR.SHRINK_TEXT ). It will be stopped by bogus br inserted by the browser.

It should be possible to ignore such markup.

Change History (4)

comment:1 Changed 7 months ago by Marek Lewandowski

Description: modified (diff)
Status: newconfirmed

comment:2 Changed 7 months ago by Tomasz Jakut

Owner: set to Tomasz Jakut
Status: confirmedassigned

comment:3 Changed 7 months ago by Tomasz Jakut

Status: assignedreview

comment:4 Changed 7 months ago by Marek Lewandowski

Milestone: CKEditor 4.7.0
Resolution: fixed
Status: reviewclosed

Fixed with git:2be3a0166.

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