Opened 11 years ago

Closed 10 years ago

#9885 closed Bug (fixed)

[Opera] Input dialogs insert new elements instead of updating ones they edit

Reported by: Piotrek Koszuliński Owned by:
Priority: Normal Milestone:
Component: Core : Selection Version: 3.5.1
Keywords: Cc:

Description

  1. Open any framed editor sample.
  2. Insert input (select, radio, text).
  3. Double click to edit.
  4. Press ok.
  5. New input has been inserted.

This problem exists because double click opens input dialog, but selection is empty. Additionally - any input data aren't loaded into input dialog.

This issue isn't reproducible on inline editor.

Change History (3)

comment:1 Changed 11 years ago by Jakub Ś

Status: newconfirmed
Version: 4.03.5.1

This can be reproduced from CKEditor 3.5.1 and continues till CKEditor 4.x master (v4) with small break in CKEditor 4 beta .

To reproduce:

  1. Open any framed editor sample.
  2. Insert input (select, radio, text).
  3. Switch to source and back
  4. Double click to edit. It may require more clicks as at first click the radio button jumps down.
  5. Press Ok.

Result: second e.g. radio element is inserted.

In CKE 4 beta JS error is thrown when you press OK button (I don't have source version for beta sorry):
Code:

CKEDITOR.dom.selection.prototype = {
	getNative: function() {
		return this._.cache.nativeSel !== void 0 ? this._.cache.nativeSel : this._.cache.nativeSel = this.document.$.selection || this.document.getWindow().$.getSelection()
	},

Message: Unhandled Error-'this.document.getWindow().$.getSelection' is not a function.

Last edited 11 years ago by Jakub Ś (previous) (diff)

comment:2 Changed 11 years ago by Jakub Ś

I believe this ticket is related to #10522.

This ticket is something like base ticket and #10522 adds something new from CKE 4.0.

comment:3 Changed 10 years ago by Jakub Ś

Resolution: fixed
Status: confirmedclosed

This issue is no longer reproducible in latest Opera 18.

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