Title: Automatic paragraph functionality still appears broken
Last modified: August 22, 2016

---

# Automatic paragraph functionality still appears broken

 *  Resolved [Mickey Kay](https://wordpress.org/support/users/mcguive7/)
 * (@mcguive7)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/automatic-paragraph-functionality-still-appears-broken/)
 * This new paragraph functionality still appears to be broken. I’m trying to use
   insert the following code using your widget:
 *     ```
       This guide is for campaign owners invited to the Forever Funding pilot program.
   
       <br/><br/><br/>
   
       <h4>Questions or Feedback?</h4>
       <a href="http://www.mysite.com/contact/questions" class="contact"><strong>Contact Us</strong>
       Response within 24 hours</a>
   
       <br/><br/>
   
       <h4>Join the pilot program</h4>
       Campaign owners of invited campaigns will have received an email invitation. Click through the invitation to join the pilot program.
   
       <br/><br/><br/>
   
       <h4>Leave the pilot program</h4>
       [pop-form form_id="15" link_text="Request to leave pilot"]
       <br/>
       Please allow for 1-2 days processing time after submitting your request.
       ```
   
 * When I insert this code in Text view, all my linebreaks disappear and the whole
   thing collapses, like so (regardless of whether or not “Automatically insert 
   paragraphs” is checked):
 *     ```
       This guide is for campaign owners invited to the Forever Funding pilot program.
       <h4>Questions or Feedback?</h4>
       <a href="http://www.mysite.com/contact/questions" class="contact"><strong>Contact Us</strong>
       Response within 24 hours</a>
       <h4>Join the pilot program</h4>
       Campaign owners of invited campaigns will have received an email invitation. Click through the invitation to join the pilot program.
       <h4>Leave the pilot program</h4>
       [pop-form form_id="15" link_text="Request to leave pilot"]
       Please allow for 1-2 days processing time after submitting your request.
       ```
   
 * At this point, things render okay on the front end (including line breaks), but
   if I save the widget again, the front-end appearance then becomes totally collapsed(
   since it is now saving the version where all the line breaks are removed).
 * So something is definitely still broken. Sure, I would expect the Visual editor
   to automatically consolidate whitespace (although not necessarily like it’s doing).
   But the Text editor should never modify the contents of the widget, this is the
   whole point of the Text editor.
 * Another example – I try to add the following code to the Text editor:
 *     ```
       Line 1<br />Line2
       ```
   
 * After saving, this is what now appears:
 *     ```
       Line 1
       Line 1
       ```
   
 * So now the formatting is destroyed.
 * Can you please confirm that you’re able to reproduce this issue, and please work
   on a fix? I’ve tried digging around in the plugin a bit, but a half and hour 
   later I can’t identify what’s causing the issue. Thanks!
 * – Mickey
 * [https://wordpress.org/plugins/black-studio-tinymce-widget/](https://wordpress.org/plugins/black-studio-tinymce-widget/)

Viewing 5 replies - 16 through 20 (of 20 total)

[←](https://wordpress.org/support/topic/automatic-paragraph-functionality-still-appears-broken/?output_format=md)
[1](https://wordpress.org/support/topic/automatic-paragraph-functionality-still-appears-broken/?output_format=md)
2

 *  Plugin Author [Marco Chiesi](https://wordpress.org/support/users/marcochiesi/)
 * (@marcochiesi)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/automatic-paragraph-functionality-still-appears-broken/page/2/#post-5410931)
 * Hi Mickey,
    the fix is actually on the dev version only, available on GitHub (
   develop branch) and not on the current release version (2.1.6). On my environment
   the current dev version solves the problem you reported, or in other words it
   preserves br tags when saving widgets in Text mode. The br tags are stripped 
   when switching back and forth from Visual to Text mode, but that’s the native
   WP behavior, and it also occurs on pages/posts editing. When you try the dev 
   version, please ensure to empty your browser cache if you install it on a site
   where previously there was the 2.1.6 stable version (it’s possible that some 
   caching issue may occur since the internal version is the same).
 *  Thread Starter [Mickey Kay](https://wordpress.org/support/users/mcguive7/)
 * (@mcguive7)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/automatic-paragraph-functionality-still-appears-broken/page/2/#post-5410932)
 * Ahhhh, I see. I thought you meant the SVN dev branch (trunk). Okay, I’ll give
   it a try. When will you pull it over here to the repo?
 *  Plugin Author [Marco Chiesi](https://wordpress.org/support/users/marcochiesi/)
 * (@marcochiesi)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/automatic-paragraph-functionality-still-appears-broken/page/2/#post-5410933)
 * Ok, please let me know if you try it. The new version will be released probably
   in a matter of days.
 *  Thread Starter [Mickey Kay](https://wordpress.org/support/users/mcguive7/)
 * (@mcguive7)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/automatic-paragraph-functionality-still-appears-broken/page/2/#post-5410940)
 * Seems to be working for me. Thanks for attending to this. I’ll let you know if
   I come across any buggy behavior and please push an official release soon! Thanks!
 *  Plugin Author [Marco Chiesi](https://wordpress.org/support/users/marcochiesi/)
 * (@marcochiesi)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/automatic-paragraph-functionality-still-appears-broken/page/2/#post-5410952)
 * The new release 2.2.0 has just been published.

Viewing 5 replies - 16 through 20 (of 20 total)

[←](https://wordpress.org/support/topic/automatic-paragraph-functionality-still-appears-broken/?output_format=md)
[1](https://wordpress.org/support/topic/automatic-paragraph-functionality-still-appears-broken/?output_format=md)
2

The topic ‘Automatic paragraph functionality still appears broken’ is closed to 
new replies.

 * ![](https://ps.w.org/black-studio-tinymce-widget/assets/icon.svg?rev=2627604)
 * [Black Studio TinyMCE Widget](https://wordpress.org/plugins/black-studio-tinymce-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/black-studio-tinymce-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/black-studio-tinymce-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/black-studio-tinymce-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/black-studio-tinymce-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/black-studio-tinymce-widget/reviews/)

## Tags

 * [automatic](https://wordpress.org/support/topic-tag/automatic/)
 * [break](https://wordpress.org/support/topic-tag/break/)
 * [disappear](https://wordpress.org/support/topic-tag/disappear/)
 * [formatting](https://wordpress.org/support/topic-tag/formatting/)
 * [line](https://wordpress.org/support/topic-tag/line/)
 * [paragraph](https://wordpress.org/support/topic-tag/paragraph/)

 * 20 replies
 * 4 participants
 * Last reply from: [Marco Chiesi](https://wordpress.org/support/users/marcochiesi/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/automatic-paragraph-functionality-still-appears-broken/page/2/#post-5410952)
 * Status: resolved