Quote:
Originally Posted by Lynne
By default, the showthread Quick Reply editor does not show the PHP/HTML/CODE buttons. If you want those to show up in Quick Reply, then just create a plugin to do so.
Hook Location - editor_toolbar_filter
PHP Code:
if (THIS_SCRIPT == 'showthread') $toolbar[] = array('Code', 'Html', 'Php');
This does NOT add these buttons if you are using the Basic Editor because there are no buttons when you use that editor. Also, this only works for the ckeditor which first came out in vB4.1.4.
|
It's working great, but should be good to have the work in quick edit too.
--------------- Added 11 Apr 2012 at 15:41 ---------------
I'm not a coder, i 'm worken on the Lynne and KH99 posts xD , and i have done... i hope.
I have created a new plugin that i called
ADV QR Button
on the hook "
editor toolbar filter"
the code is:
Code:
if ($this->editor_type == 'qr' || $this->editor_type == 'qe')
{
$toolbar[] = array('Code', 'Html', 'Php');
}
And now the buttons are showed in the qr and qe....
Is it a good solution? Or there's something wrong? Actually this solution are working fine in my board.... hoping that it is a correct work....
Thanks