Download or use CDN of ckeditor js and add it in your document.
<script src="https://cdn.ckeditor.com/4.6.2/standard/ckeditor.js"></script> <textarea name="editor1" id="editor1" rows="10" cols="80"> This is my textarea to be replaced with CKEditor. </textarea> <script> // Replace the <textarea id="editor1"> with a CKEditor // instance, using default configuration. CKEDITOR.replace( 'editor1' ); </script>
Thats it.
Question and answer is powered by AnsPress.io