These methods had already been superseeded by other methods since jQuery 1.7 or 1.8, and jQuery 3.0 will deprecate them.
8 lines
182 B
JavaScript
8 lines
182 B
JavaScript
$(document).on("page:change", function() {
|
|
if (typeof(CKEDITOR) != "undefined"){
|
|
for(name in CKEDITOR.instances){
|
|
try{CKEDITOR.replace(name);}catch(err){};
|
|
}
|
|
}
|
|
});
|