Saturday 27 October 2012

On 02:59 by Unknown   No comments
Rich text editors(RTE) can really save you a lot of work that is for those who do not like going the cms way.The cms comes comes with a RTE.I like the yahoo RTE because it is well documented.You can check it out   here to get data from the editor ,just add the handleSubmit option and set it to be true 
handleSubmit: true
to make it look like this
<script type="text/JavaScript">
  var myEditor = new YAHOO.widget.SimpleEditor('detail',
 {   
 height: '300px',    
  width: '600px',   
 dompath: true, //Turns on the bar at the bottom   
 handleSubmit: true  
});  
myEditor.render();
</script>

0 comments:

Post a Comment