CKEditor include in Your page only 4 Steps |
[eluser]Rocky Mehta[/eluser]
1. Download the FCKEditor form the http://ckeditor.com/download web page and extract to your folder. 2. Open ckeditor folder and rename or remove the .htaccess page. 3. In ckeditor folder ckeditor.js file use in your page.(like language="javascript" type="text/javascript" src="your_website_base_path/ckeditor/ckeditor.js") 4.And last steps in your body <textarea class="ckeditor" name="editor1"></textarea>. CKEditor is on your Browser. i am try this steps and it's work really. so i put this post for my new codeigniter friends. In my website it's done very well. Thank x Codeigniter.
[eluser]srpurdy[/eluser]
You might also want to do something like this. For images ckeditor likes using inline css style which if you use xss filtering or have security rules on the webserver it messes the images up. This would go in the config.js file. I also reversed the enter key press so it makes br's instead of paragraphs. No sense in having 17 paragraph tags in the markup every time someone uses the enter key. If you want a paragraph this should be the shift+enter. No clue why ckeditor designed it that way. The code below also adds an image class "img_margin" to images. So you can add your own css margin Code: /* |
Welcome Guest, Not a member yet? Register Sign In |