Opened 9 years ago

Closed 7 years ago

#5977 closed bug (invalid)

jQuery UI Sorting Freezes WYSIWYG Editors

Reported by: PF1 Owned by: PF1
Priority: major Milestone: 2.0.0
Component: ui.sortable Version: 1.8.4
Keywords: WYSIWYG Cc:
Blocked by: Blocking:

Description

When using the jQuery UI "Sortable" feature with WYSIWYG text editors, the moved text editor freezes and doesn't allow any editing. I have attached a page that demonstrates the problem with a CKEditor, but the bug can be demonstrated in all of the WYSIWYG editors I tested.

Attachments (1)

testing.html (1.3 KB) - added by PF1 9 years ago.

Download all attachments as: .zip

Change History (10)

Changed 9 years ago by PF1

Attachment: testing.html added

comment:1 Changed 9 years ago by Scott González

Resolution: invalid
Status: newclosed

Please verify that the WYSIWYG editors continue to work if you move them around in the DOM without jQuery. If that works, then you can re-open this ticket.

comment:2 Changed 9 years ago by PF1

Are you referring to something like the following, or a complete reordering Javascript script?

var element = document.getElementById("editor1");
var oldParent = document.getElementById("editor_container1");
var newParent = document.getElementById("editor_container2");
newParent.appendChild(element);
	
var element = document.getElementById("editor2");
var oldParent = document.getElementById("editor_container2");
var newParent = document.getElementById("editor_container1");
newParent.appendChild(element);

comment:3 Changed 9 years ago by Scott González

Yup, that's exactly what I was asking for. Do the editors continue to work if you run that code?

comment:4 Changed 9 years ago by PF1

Yes, the editors continue to run if that code is run.

comment:5 Changed 9 years ago by PF1

Resolution: invalid
Status: closedreopened

comment:6 Changed 7 years ago by Scott González

Milestone: TBD2.0.0

comment:7 Changed 7 years ago by mikesherov

Status: reopenedopen

comment:8 Changed 7 years ago by tj.vantoll

Owner: set to PF1
Status: openpending

We're going to need a live reduced test case in order to look into this issue.

comment:9 Changed 7 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.