Friday, June 22, 2012

Using tinyMCE as an editor in PHP



TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor. TinyMCE can be downloaded from:
 TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor.
TinyMCE can be downloaded from:
http://www.tinymce.com/
To use TinyMCE:
<script type="text/javascript" src="tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced"
});
</script>
TinyMCE editor will be shown in the form starting with textarea: Example:
<textarea name="body" style="width:30%" rows="15" cols="10"> </textarea> 

No comments:

Post a Comment