7
app/assets/javascripts/ckeditor/reinit.js
Normal file
7
app/assets/javascripts/ckeditor/reinit.js
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
$(document).bind('page:change', function() {
|
||||||
|
if (typeof(CKEDITOR) != "undefined"){
|
||||||
|
for(name in CKEDITOR.instances){
|
||||||
|
try{CKEDITOR.replace(name);}catch(err){};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user