• Resolved siriusly

    (@siriusly)


    I’m having trouble with the WYSIWYG plugin forcing paragraph breaks in the text whenever text is updated. Usually, I can go back and delete all of the extra spaces and use “shift_enter” to restore line breaks, and _usually_ that works, but not always. It seems especially problematic on the sidebars, but the same problem exists in the main (center) content area as well. Any suggestions?

    (I’ve only used this with WP 3.3.1, so I can’t say if it worked before that update). The site is https://mentalhealthcrisisalliance.org.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter siriusly

    (@siriusly)

    Has anyone else experienced this?

    Got the same problem. Simple fix by hacking in the code. Open the file “frontend/WYSIWYG_Widgets_Widget.php” and replace the following line:

    <?php wp_editor($text, $this->get_field_id('text'), array( 'textarea_name' => $this->get_field_name('text'), 'textarea_rows' => 25)) ?>

    by

    <?php wp_editor($text, $this->get_field_id('text'), array( 'textarea_name' => $this->get_field_name('text'), 'textarea_rows' => 25, 'wpautop'=>false )) ?>

    Hope it will fix your problem as well!

    Thread Starter siriusly

    (@siriusly)

    Worked! Many thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[WYSIWIYG WIdget] Forces paragraphs instead of line breaks’ is closed to new replies.