Firstly i would like to express my utmost appreciation to the developers of this brilliant software that is going to save me hours of tracking issues for my new software product
As a small gesture I would like to give this simple change back to this community
I like to be able to have an editor when creating or updating issues. So i have installed the famous TinyMCE editor. the first thing you need to do is to download this file
Unpack it and upload to your mantis folder keeping the structure in place
Next open up html_api.php found in your core folder and find this function @ line 183
Code: Select all
function html_head_begin() {
echo '<head>', "\n";
}
Code: Select all
function html_head_begin() {
echo '<head><script language="javascript" type="text/javascript" src="jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "table,save,autosave,autosave,cleanup,advhr,advimage,advlink,
emotions,iespell,insertdatetime,preview,zoom,searchreplace,print,
contextmenu,directionality,inlinepopups,media,nonbreaking,visualchars,
devkit,paste,noneditable,layer,fullpage,fullscreen,",
theme_advanced_buttons1_add_before : "save,separator,",
theme_advanced_buttons1_add : "fontselect,fontsizeselect",
theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,
backcolor",
theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator",
theme_advanced_buttons3_add_before : "tablecontrols,separator",
theme_advanced_buttons3_add : "emotions,iespell,flash,advhr,separator,print,ltr,rtl",
theme_advanced_buttons4_add_before : "visualchars,nonbreaking,devkit,separator,layer,fullpage,fullscreen",
table_styles : "Header 1=header1;Header 2=header2;Header 3=header3",
table_cell_styles : "Header 1=header1;Header 2=header2;Header 3=header3;Table Cell=tableCel1",
table_row_styles : "Header 1=header1;Header 2=header2;Header 3=header3;Table Row=tableRow1",
table_cell_limit : 100,
table_row_limit : 5,
table_col_limit : 5,
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_path_location : "bottom",
plugin_insertdate_dateFormat : "%Y-%m-%d",
plugin_insertdate_timeFormat : "%H:%M:%S",
extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|
hspace|vspace|width|height|align|onmouseover|onmouseout|name],
hr[class|width|size|noshade],font[face|size|color|style],span[class|align|
style]",
external_link_list_url : "example_data/example_link_list.js",
external_image_list_url : "example_data/example_image_list.js",
flash_external_list_url : "example_data/example_flash_list.js"
});
</script>
Hope this is of some use to someone
Regards
Mark