Opened 11 years ago

Last modified 11 years ago

#10823 closed Bug

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

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

Description (last modified by Piotrek Koszuliński)

In link/dialogs/link.js:

				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 (1)

comment:1 Changed 11 years ago by Piotrek Koszuliński

Description: modified (diff)
Status: newconfirmed
Summary: Link plugin fails when applied to non-editable contentLink plugin fails when applied to a non-editable content
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