Opened 4 years ago

Closed 4 years ago

#12433 closed Bug (expired)

ckeditor doesn't work when hiding after "instanceReady"

Reported by: DucThien Owned by:
Priority: Normal Milestone:
Component: Core : Editable Version:
Keywords: Cc:

Description

Hi,

I am doing a project that uses ckeditor.I use event handle "instanceReady" and hide the container "div" of ckeditor to open it when needed.

CKEDITOR.on("instanceReady", function(evt){
  $("#cke_" + evt.editor.name).hide();
})

However, when I open it by unhide that div, the ckeditor is empty and I can not enter anything to iframe although there is some text in original textarea.

Change History (4)

comment:1 Changed 4 years ago by Jakub Ś

Status: newpending

I can't reproduce this issue. I have modified jQuery sample with below code but no luck.

CKEDITOR.on("instanceReady", function(evt){
	$("#cke_" + evt.editor.name).hide();
	$("#cke_" + evt.editor.name).show();
});

Please provide working sample that can be put in default editor samples folder and will show this problem.

comment:2 Changed 4 years ago by DucThien

Oh, I forgot to mention that this error occurs in popup when openning from a main window.

comment:3 Changed 4 years ago by Jakub Ś

Please provide reduced and working sample HTML file that I will be able to put into CKEditor samples folder and will see this error.

comment:4 Changed 4 years ago by Jakub Ś

Resolution: expired
Status: pendingclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy