/ Published in: JavaScript

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//include the core lib <script type="text/javascript" src="ckeditor.js"></script> //declare the text area - name attribute is important <textarea name="editor1">stuff to edit</textarea> //the magic <script type="text/javascript"> window.onload = function() { CKEDITOR.replace( 'editor1',{ toolbar : 'Basic', }); }; </script>
Comments
