Hello,
anyone know how to properly configure htmlpurifier to allow code ckeditor ?
Thanks for your help
PS: sorry for my bad english langage ...
anyone know how to properly configure htmlpurifier to allow code ckeditor ?
Thanks for your help
PS: sorry for my bad english langage ...
Re: Using HTMLpurifier + ckeditor ?
It work !
stupid mistake from me. button registered ckeditor did not record the new content but the old content (why ?). So I always had the same content .
If it can be helpful : http://htmlpurifier.org/phorum/read.php?3,5139,5146
the author of htmlpurifier is very reactive (thanks) !
setup htmlpurifier for ckeditor3
I don't know php. How can I setup htmlpurifier for ckeditor3? I am using this configuration:
$('.textInput').ckeditor({
filebrowserBrowseUrl: 'myurl/ckfinder.html',
filebrowserUploadUrl: 'CMS/Admin/UploadFile',
toolbar: [
{ name: 'document', items: ['Source', '-', 'Undo', 'Redo'] }, // View source, undo & redo
{ name: 'alignment', items: ['JustifyLeft', 'JustifyCenter', 'JustifyRight'] }, // Align
//{ name: 'clipboard', items: ['Cut', 'Copy', 'Paste'] }, // Copy & Paste
{ name: 'basicstyles', items: ['Bold', 'Italic', 'TextColor', '-', 'RemoveFormat'] }, // styles
{ name: 'objects-n-links', items: ['Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar'] }, // to insert
{ name: 'links', items: ['Link', 'Unlink'] }, // links
{ name: 'paragraph', items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent'] }, //formatting
{ name: 'selects', items: ['FontSize', ] } //Dropdown lists
],
enterMode: CKEDITOR.ENTER_BR,
shiftEnterMode: CKEDITOR.ENTER_P
});