WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Magic Fields] All line breaks stripped from multi-line fields (4 posts)

  1. bento
    Member
    Posted 4 years ago #

    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

    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/

  2. bento
    Member
    Posted 4 years ago #

    I have created a Magic Fields version with an integrated Markdown editor (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/

    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/

  3. Gnuget
    Member
    Posted 4 years ago #

    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.

  4. bento
    Member
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic