How to set ckeditor in wordpress?

How to add ckeditor in WordPress??

How to insert ckeditor in WordPress?

I had find the simple Solution is below:

Step:1-Go to the plugin option in your wordpress-admin.
Step:2-Then select Add New
Step:3-Now,search the ckeditor plugin.
Step:4-Install the ckeditor plugin.
Step:5-Then Active your installed ckeditor plugin.

Hope your plugin has been successfully install.

Then add the following ckeditor code where you want:


<textarea id="editor1" name="editor1"><p>Initial value.</p></textarea>
<script type="text/javascript">
CKEDITOR.replace( 'editor1' );
</script>

Below the complete demo of ckeditor:


<html>
<head>
<title>Sample CKEditor Site</title>
<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>
</head>
<body>
<form method="post">
<p>
My Editor:<br />
<textarea id="editor1" name="editor1">&lt;p&gt;Initial value.&lt;/p&gt;</textarea>
<script type="text/javascript">
CKEDITOR.replace( 'editor1' );
</script>
</p>
<p>
<input type="submit" />
</p>
</form>
</body>
</html>

About the Author

avatar