function ckeditor_filter_ckeditor_filter_defaults in CKEditor Filter 7
Call hook for default filters
1 call to ckeditor_filter_ckeditor_filter_defaults()
- CKEditorFilterTest::setUp in ./
ckeditor_filter.test - Sets up unit test environment.
File
- ./
ckeditor_filter.module, line 345 - Provides an input filter that allows site administrators configure which HTML elements, attributes and style properties are allowed.
Code
function ckeditor_filter_ckeditor_filter_defaults() {
return array(
'valid_elements' => 'p,a,div,span,h2,h3,h4,h5,h6,section,article,strong,b,i,em,cite,blockquote,small,sub,sup,code,pre,ul,ol,li,dl,dt,dd,table,tbody,thead,th,tr,td,img,caption,br',
'valid_attributes' => 'href,src,target,width,height,colspan,span,alt,name,title,class,id,style',
'valid_styles' => 'text-align,float,margin',
);
}