1
open modules/system/admin/blocksadmin/blockform.php
le="color: #000000"><?php $textarea = new XoopsFormDhtmlTextArea(_AM_CONTENT, 'bcontent', $block['content'], 15, 70);
find the above line and replace with
below
le="color: #000000"><?php if ( is_readable(XOOPS_ROOT_PATH . "/class/xoopseditor/tinymce/formtinymce.php")) { include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/tinymce/formtinymce.php"); include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/tinymce/language/english.php"); $textarea = new XoopsFormTinymce(array('caption'=>_AM_CONTENT, 'name'=>'bcontent', 'value'=>$block['content'], 'cols'=>'15','rows'=>'20', 'xEditor'=>'1')); }else{ $textarea = new XoopsFormDhtmlTextArea(_AM_CONTENT, 'bcontent', $block['content'], 15, 70); }
you will have a tinymce as editor in XOOPS blocks