Task #800
Block HTML code injection at MSS
Status: | Work Completed-End life cycle | Start date: | March 02, 2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | March 03, 2011 | |
Assignee: | Nor Shuhaida Subri | % Done: | 100% | |
Category: | - | Spent time: | - | |
Target version: | - |
Description
- apply the TinyMCE to the all MSS Text Box.
- The only allowed functions are B, I and U.
History
#1 Updated by Nor Shuhaida Subri over 13 years ago
- Due date set to March 03, 2011
- Status changed from New - Begin Life Cycle to Development / Work In Progress
- % Done changed from 0 to 50
- apply TinyMCE currently only for Service Info
- customize the TinyMCE to display only Bold, Italic and Underline.
- Adjusting the tool bar location to be at top instead of bottom.
#2 Updated by Nor Shuhaida Subri over 13 years ago
- Status changed from Development / Work In Progress to Pending Customer Feedback
- % Done changed from 50 to 100
To include and customize the TinyMCE inside the jsp page:
<script type="text/javascript" src="../js/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced",
theme_advanced_buttons1 :"bold, italic, underline",
theme_advanced_buttons2 :"",
theme_advanced_buttons3 :"",
theme_advanced_buttons4 :"",
theme_advanced_toolbar_align : "left",
theme_advanced_toolbar_location : "top"
});
</script>
1. theme : "advanced", - select the theme used.
2. theme_advanced_buttons1 :"bold, italic, underline", - select the featured that user want to display for the first row. Example: Bold, Italic and Underline only.
3. theme_advanced_buttons2 :"", - select the featured that user want to display for the second row. Leave it blank if display nothing.
4. theme_advanced_buttons3 :"", and theme_advanced_buttons4 :"", - same as above.
5. theme_advanced_toolbar_align : "left", - setting the toolbar alignment.
6. theme_advanced_toolbar_location : "top" - setting the toolbar location.
#3 Updated by Nor Shuhaida Subri over 13 years ago
- Status changed from Pending Customer Feedback to Work Completed-End life cycle