Return to Snippet

Revision: 31920
at September 15, 2010 23:16 by thiswayup


Initial Code
//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>

Initial URL

                                

Initial Description

                                

Initial Title
create a basic Ckeditor

Initial Tags

                                

Initial Language
JavaScript