Fix preview with ckeditor

Post preview and CKEDITOR compatibility.