Back
CKEditor is actually a new object instead of URL based and a new approach is required. The following script will help replace factory editor layout with a full version allowing additional formatting options:
$(document).ready(function(){ CKEDITOR.on('instanceReady', function(e) { if (e.editor.config.magic) return; var target = e.editor.config.bodyId; var name = e.editor.name; e.editor.destroy(); CKEDITOR.editorConfig = function( config ) { config.magic = true; } CKEDITOR.replace(name, { height : 600, bodyId : target }); }); });
$(document).ready(function(){
CKEDITOR.on('instanceReady', function(e) {
if (e.editor.config.magic) return;
var target = e.editor.config.bodyId;
var name = e.editor.name;
e.editor.destroy();
CKEDITOR.editorConfig = function( config ) { config.magic = true; }
CKEDITOR.replace(name, {
height : 600,
bodyId : target
});
Result of the above script:
31k questions
32.8k answers
501 comments
693 users