Repaired ckeditor, added global contents and added to output.