http://zentaoms.googlecode.com/svn/trunk/module/task/view/create.html.php@1059
Index: create.html.php =================================================================== --- create.html.php (revision 1058) +++ create.html.php (revision 1059) @@ -25,6 +25,7 @@ <?php include '../../common/view/header.html.php';?> <?php include '../../common/view/datepicker.html.php';?> <?php include '../../common/view/autocomplete.html.php';?> +<?php include '../../common/view/kindeditor.html.php';?> <script language='javascript'> /* 拷贝需求标题为任务标题。*/ function copyStoryTitle() @@ -61,6 +62,12 @@ $('#preview').attr('href', storyLink); } } + +/* 富文本编辑器。*/ +KE.show({ + id:'desc', + items:simpleTools +}); var userList = "<?php echo join(',', array_keys($users));?>".split(','); $(document).ready(function() { @@ -121,7 +128,7 @@ </tr> <tr> <th class='rowhead'><?php echo $lang->task->desc;?></th> - <td><?php echo html::textarea('desc', '', "rows='5' class='area-1'");?></td> + <td><?php echo html::textarea('desc', '', "rows='8' class='area-1'");?></td> </tr> <tr> <th class='rowhead'><?php echo $lang->files;?></th>