WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have multiple WYSIWYG editors on a page using wp_editor. I am trying to add the setting 'teeny' => true, but it seems to only apply to the first editor instance.

All subsequent editors are just plain text areas and I get a javascript error in the console. "Uncaught TypeError: Cannot set property 'innerHTML' of null"

            $content = $field['url'];
            $settings = array(
                            'textarea_name' => 'url[]', 
                            'teeny' => true,
                            'raw' => true, 
                            'editor_class' => 'movie_description_editor' 


        <td><?php wp_editor($content, 'movie_description-'.$num, $settings ); ?></td>
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.