PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

WYSIWYG

  1. Hello, it seems this post describes a way to integrate the http://ckeditor.com/ or TinyMCE (not sure wish one) but could I ask for help please as to where do you put the code the post suggests in order to use the WYSIWYG editor in a form? I heard it was coming in 1.6 but didn't.

    http://www.gravityhelp.com/forums/topic/a-visual-editor-in-gravity-forms

    01 <!-- OF COURSE YOU NEED TO ADAPT NEXT LINE TO YOUR tiny_mce.js PATH -->
    02 <script type="text/javascript" src="../js/tiny_mce.js"></script>
    03 <script type="text/javascript">
    04 tinyMCE.init({
    05 // General options
    06 mode : "textareas",
    07 theme : "advanced"
    08 });
    09 </script>
    10 <textarea id="elm1" name="elm1" rows="15" cols="10" style="width: 80%">TEST</textarea>

    Posted 13 years ago on Thursday November 3, 2011 | Permalink
  2. http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F

    The JavaScript will go in your theme's header.php. It needs to be included on any page with a textarea where you want the WYSIWYG editor to appear.

    Posted 13 years ago on Thursday November 3, 2011 | Permalink