Home  ›  Tutorials  ›  Replacing XHEDITOR with CkEditor

Replacing XHEDITOR with CkEditor

1.Download CKEDITOR from

http://ckeditor.com/download

Place files in

static/js/ckeditor

2.Now make changes to
include/template/manage_header.html

add following code

<script type="text/javascript" src="/static/js/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="/static/js/tiny_mce/tiny_mce_jquery.js"></script>
<script type="text/javascript">$('#textareaid').ckeditor();</script>

3. Now find template file where you have to add the FCKEDITOR
Like
include/template/manage_team_edit.html

Find textarea classes and replace them with ckeditor

Example

<textarea class="f-textarea editor"
replace with
<textarea class="ckeditor"

Now clear cache of browser , Thats it


Help us improve the wiki Send Your Comments