Opened 11 years ago

Last modified 10 years ago

#10823 closed Bug

Link plugin fails when applied to non-editable content — at Initial Version

Reported by: Piotrek Koszuliński Owned by:
Priority: Must have (possibly next milestone) Milestone: CKEditor 4.3
Component: General Version:
Keywords: Cc:

Description

				var range = selection.getRanges( 1 )[ 0 ];

				// Use link URL as text with a collapsed cursor.
				if ( range.collapsed ) {

These lines cause problem, because ranges is an empty array if only widget (non-editable content) is selected.

Change History (0)

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