Title: [Plugin: Magic Fields] All line breaks stripped from multi-line fields
Last modified: August 19, 2016

---

# [Plugin: Magic Fields] All line breaks stripped from multi-line fields

 *  [bento](https://wordpress.org/support/users/bento/)
 * (@bento)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-magic-fields/)
 * Thanks for this great plugin, something I have been waiting for for ages.
 * Though, I have a problem:
    All line breaks are stripped from multi-line field(
   the ones with the TinyMCE editor). Unfortunately this is a BIG problem for me
   right now, my client won`t accept that the text appears as one huge chunk. I 
   need the ability to structure the text with normal line breaks etc.
 * I posted on this Google group as well, there are people with the same problem:
   
   [http://groups.google.com/group/magic-fields/browse_thread/thread/4e0da42a7ca5b8ea/5a63b7b811f6a8b5?lnk=gst&q=line+breaks#5a63b7b811f6a8b5](http://groups.google.com/group/magic-fields/browse_thread/thread/4e0da42a7ca5b8ea/5a63b7b811f6a8b5?lnk=gst&q=line+breaks#5a63b7b811f6a8b5)
 * I will donate for sure, it`s just this link-break issue needs to be fixed before
   I can
    acually use it.
 * Is there any fix or hack for this? I am willing to pay if needed. Any developer
   out there who can do this job?
 * Please get back to me. A zillion thanks in advance!
 * [http://wordpress.org/extend/plugins/magic-fields/](http://wordpress.org/extend/plugins/magic-fields/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [bento](https://wordpress.org/support/users/bento/)
 * (@bento)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-magic-fields/#post-1371773)
 * I have created a Magic Fields version with an integrated Markdown editor ([http://markitup.jaysalvat.com/examples/markdown/](http://markitup.jaysalvat.com/examples/markdown/))
   as an additional option when setting up custom write panels.
 * This replacement text editor repairs the currently bug-ridden integration of 
   the TinyMCE editor in Magic Fields i.e. all paragraphs and line breaks are preserved
   with this editor.
 * The Markdown editor also offers an easy syntax for writing HTML, i.e. a “#” before
   the Title will create a <h1>Headline</h1>, but also the menu icons can be used
   to add the markup. For H2 headlines use “##” etc, it`s a very easy to learn syntax,
   try out the syntax on this sample page: [http://markitup.jaysalvat.com/examples/markdown/](http://markitup.jaysalvat.com/examples/markdown/)
 * Additionally you can paste text from MS Word or any other text editor without
   having to worry that pasted style attributes will mess up your text in WordPress(
   which is a BIG problem with the WordPress default TinyMCE editor).
 * Also you can paste/write HTML directly into the Markdown editor. HTML will be
   recognised as such and not altered.
 * More information here:
    [http://bentographics.com/shop/](http://bentographics.com/shop/)
 *  [Gnuget](https://wordpress.org/support/users/gnuget/)
 * (@gnuget)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-magic-fields/#post-1371774)
 * Oks i tried to replicate this bug and i can’t do it
 * In which operative system are you running magic fields? in apache or on IIS? 
   what is the name of your custom field, which browser you are using for see the
   bug?
 * I need be able to replicate the bug for fix it.
 *  Thread Starter [bento](https://wordpress.org/support/users/bento/)
 * (@bento)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-magic-fields/#post-1371775)
 * Hi Gnuget, thanks for your reply.
 * The site is running on an Apache server. WordPress version 2.9.1. Since I am 
   building a multilingual site I use also the Qtranslate plugin, not sure if this
   is important.
 * The line break issues appears with multi-line fields (with TinyMCE editor), which
   have a lot of other bugs too i.e. switching between visual view and HTML view
   will erase all formatting, generally formatting is VERY buggy, almost not to 
   handle i.e. creating a headline or similar. When selecting text the cursor seems
   to shift sometimes too.
    Generally full new paragraphs and line breaks are not
   preserved (or only once, but after the next saving of a multi-line field all 
   formatting is gone).
 * Also I can not even deactivate the visual editor from the Magic Fields settings,
   since then my whole page stays gray and nothing is loaded (WordPress admin area
   for pages/posts).
 * I use Safari 4 and Firefox 3.6 equally for development (under Mac), it did not
   make a difference to the line-break problem.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Magic Fields] All line breaks stripped from multi-line fields’
is closed to new replies.

## Tags

 * [line breaks](https://wordpress.org/support/topic-tag/line-breaks/)
 * [markdown](https://wordpress.org/support/topic-tag/markdown/)

 * 3 replies
 * 2 participants
 * Last reply from: [bento](https://wordpress.org/support/users/bento/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-magic-fields/#post-1371775)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
