Allow users to edit font attributes in comments
-
Hey everyone. I’m having trouble with this particular issue.
I have done some searching, but have found that to do this, I need to edit the kses.php file. I have managed to get images to show, now I would just like to allow commenters to be able to have the font colours and sizes that they want.I also know that I need to add the code
'font' => array('color' => array()),
into this section of the kses.php file, but I am unsure where to place it to make it work
This is the code that I have so far.
$allowedtags = array ('a' => array ('href' => array (), 'title' => array ()), 'font' => array('color' => array()), 'img' => array( 'src' => array(), 'alt' => array()), 'abbr' => array ('title' => array ()), 'acronym' => array ('title' => array ()), 'b' => array (), 'blockquote' => array ('cite' => array ()),
Please Help!!
~~*~~
For extra information though it doesn’t really attirbute to my problem: I am using editormonkey, and am using the TinyMCE/simple controls. I want my readers to be able to have full use of the controls.
- The topic ‘Allow users to edit font attributes in comments’ is closed to new replies.