voriand
Member
Posted 5 months ago #
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!
voriand
Member
Posted 5 months ago #
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"... :(
voriand
Member
Posted 5 months ago #
If you can tell my other HTML or WYSIWYG editors, that i can switch on my custom textarea-s, that would be also good! :)