Quote:
Originally Posted by g0t0pless
Thanks to all that helped me to get this working... It works!!!!
Now, how do I add/remove toolbar buttons?
I am messing around in fckconfig.js and I see where they buttons are called up under "basic" and "default", but adding/removing anything in there has no results. I even tried creating a new toolbar set called custom, and then changing my toolbar settings in main/product_modify.tpl to request the custom toolbar. Doing so results in an error saying the toolbar doesn't exist.
|
Add this line
Code:
oFCKeditor.ToolbarSet = "Basic(or whatever u have)" ;
between
Code:
var oFCKeditor = new FCKeditor( 'fulldescr' ) ;
and
Code:
oFCKeditor.ReplaceTextarea() ;
in the product_details.tpl
so..
Code:
<script type="text/javascript">
var oFCKeditor = new FCKeditor( 'fulldescr' ) ;
oFCKeditor.ToolbarSet = "Basic" ;
oFCKeditor.ReplaceTextarea() ;
</script>