6 Comments


  1. darknote

    hi,
    Which file to put the code?
    thank you

    Reply

    1. You don’t need to put any file. Just put these codes any where you need WYSIWYG editor.

      Reply
  2. D'VANCE

    What would be the best way to implement this to a NextGen Gallery Image Descriptions text area? So that when adding descriptions, I can use the Rich Editor instead of the text editor.

    Reply

  3. Hi,

    Thanks for your article.

    I have a problem. when I use your code in my theme options, the editor shows up on top of the page instead of the place that I wanted, also when I reset or save the page, I get an error message.

    Any advise would be appreciated.

    case ‘texteditor':
    $ta_value = stripslashes($smof_data[$value[‘id’]]);
    $output .= ”. wp_editor($ta_value,$value[‘id’], array(‘wpautop’ => false,’textarea_name’=>$value[‘id’] ,’textarea_rows’=>12, ‘editor_class’=>’testtest’)).”;
    break;”

    Thanks

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>