• Dear All!

    I’m using CKEditor for WordPress, but i want do use it on some custom textfields. Sadly i can’t find the exact way how to do that…

    How can i get CKEditor to work on other textfields in the admin section?
    I saw some CKEDITOR.replace JS functions, but i’m not sure if this will work here…

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter voriand

    (@voriand)

    Okay, i found something:

    <script type="text/javascript"<
    var oFCKeditor = new FCKeditor( 'MyTextarea' ) ;
    oFCKeditor.BasePath = '/drupal/sites/all/modules/FCKEditor/fckeditor/';
    oFCKeditor.Config['CustomConfigurationsPath'] = "/drupal/sites/all/modules/FCKEditor/fckeditor.config.js";
    oFCKeditor.ReplaceTextarea() ;
    </script>

    i put it after the textarea html code, but it tells me alway that the “FCKEditor is not defined”… ??

    Thread Starter voriand

    (@voriand)

    If you can tell my other HTML or WYSIWYG editors, that i can switch on my custom textarea-s, that would be also good! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CKEditor on custom textfields’ is closed to new replies.