mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix invalid editor_sequence when CKEditor is in full-screen mode
https://xetown.com/questions/1822954
This commit is contained in:
parent
b4d2ee16e0
commit
92b14bf1cb
1 changed files with 2 additions and 2 deletions
|
|
@ -47,9 +47,9 @@ CKEDITOR.plugins.add('rx_paste', {
|
|||
const uploadFile = function(file) {
|
||||
|
||||
// Get the editor sequence.
|
||||
const editor_container = $(editor.container.$).closest('.rx_ckeditor');
|
||||
const editor_sequence = editor.config.xe_editor_sequence;
|
||||
const editor_container = $('#ckeditor_instance_' + editor_sequence);
|
||||
const upload_container = editor_container.nextAll('.xefu-container').first();
|
||||
const editor_sequence = editor_container.data('editorSequence');
|
||||
|
||||
// Generate the form data.
|
||||
const form = new FormData();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue