script type text javascript src admin_media_prefix js fckeditor fckedi

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
<script type="text/javascript" src="{% admin_media_prefix %}js/fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'text', "100%", "500") ;
oFCKeditor.BasePath = "{% admin_media_prefix %}js/fckeditor/" ;
oFCKeditor.ReplaceTextarea() ;
oFCKeditor.Height = '512' ;
}
</script>