Opened 13 years ago
Last modified 12 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 )
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 13 years ago by
| Description: | modified (diff) |
|---|---|
| Status: | new → confirmed |
| Summary: | Link plugin fails when applied to non-editable content → Link plugin fails when applied to a non-editable content |
