I'm a new member. I've used WYM yesterday. I have a bit problem with my project.
My project build base on Zend FW. I can't post the text of WYMeditor.
What happen in my WYMeditor?
Demo: http://www.1084.com.vn/trustindex/test
Sourcecode:
- Code: Select all
<form action="" method="post" id="frmLuc">
<table width="100%" border="0" cellpadding="3" cellspacing="3">
<tr>
<td>WymEditor</td>
<td>
<textarea class="form_textarea" name="wymeditor" id="wymeditor"></textarea>
</td>
</tr>
<tr>
<td>Textarea</td>
<td>
<textarea class="form_textarea" name="textarea"></textarea>
</td>
</tr>
<tr>
<td width="100"> </td>
<td><input type="reset" class="form_button" value="Reset" /> <input id="btuSubmit" name="btuSubmit" type="submit" class="form_button" value="Submit" /></td>
</tr>
<tr>
<td>POST data</td>
<td>
<?php echo '<pre>';print_r($_POST); ?>
</td></tr>
</table>
</form>
<script language="javascript" src="js/lib/jquery.js"></script>
<script language="javascript" src="js/lib/jquery.wymeditor.min.js"></script>
<script language="javascript">
$(document).ready(function(){
jQuery("#wymeditor").wymeditor({
toolsItems: [
{'name': 'Bold', 'title': 'Strong', 'css': 'wym_tools_strong'},
{'name': 'Italic', 'title': 'Emphasis', 'css': 'wym_tools_emphasis'},
{'name': 'InsertUnorderedList', 'title': 'Unordered_List',
'css': 'wym_tools_unordered_list'},
{'name': 'Undo', 'title': 'Undo', 'css': 'wym_tools_undo'},
{'name': 'Redo', 'title': 'Redo', 'css': 'wym_tools_redo'}
],
containersHtml: '',
classesHtml: '',
logoHtml:''
});
});
</script>
Sorry for my English.
Thanks