You are here

function hook_ckeditor_filter_defaults in CKEditor Filter 7

Hook for default filters

1 function implements hook_ckeditor_filter_defaults()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

ckeditor_filter_ckeditor_filter_defaults in ./ckeditor_filter.module
Call hook for default filters
1 invocation of hook_ckeditor_filter_defaults()
ckeditor_filter_filter_info in ./ckeditor_filter.module
Implements hook_filter_info().

File

./ckeditor_filter.api.php, line 11
Hooks provided by ckeditor_filter.

Code

function hook_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',
  );
}