[wp-hackers] newlines from rich text editor do not convert to paragraphs

Davit Barbakadze jayarjo at gmail.com
Sun Dec 13 11:38:52 UTC 2009


I've meany first example:

> Test<Enter>Test<Enter>Test:
> Result: <p>Test</p><p>Test</p><p>Test</p>

And what we get in the end is:

TestTestTest

We use TinyMCE and Firefox 3.5.5 as a browser. Not sure what happens
in other browsers. But it's important for this feature to work in
Firefox.

On Sun, Dec 13, 2009 at 3:17 PM, Dion Hulse (dd32) <wordpress at dd32.id.au> wrote:
> All this talk of HTML mode is confusing things i think..
>
> As it should work:
>
> Test<Enter>Test<Enter>Test:
> Result: <p>Test</p><p>Test</p><p>Test</p>
>
> Test<Shift+Enter>Test
> Result: Test<br/>Test
>
> That works fine for me on a 2.9 nightly, Are you saying that the first
> Example, Results in the 2nd?  Or are you saying it ends up like
> TestTestTest?
> If the latter, That wouldnt surprise me if running in the HTML mode..  But
> TinyMCE should handle the paragraphing easily enough.. Have you tried a
> different browser?
>
> On Sun, 13 Dec 2009 22:10:57 +1100, mccormicky <mccormicky at gmail.com> wrote:
>
>>  learning to press the return key in the html mode of the wp editor or to
>> type <br/> is not exactly learning html.
>>
>>
>>
>>
>>
>> On Sun, Dec 13, 2009 at 4:06 AM, Davit Barbakadze <jayarjo at gmail.com>
>> wrote:
>>
>>> It is understandable, 'cause it should be very handy feature,
>>> especially when one has media and style rich posts. Using html editor
>>> is not an option for some people at all (not familiar with html and do
>>> not bother to learn it - why should they in fact?)
>>>
>>> Does any one know at least what is a hook/filter, which is meant to
>>> accomplish that converting task?
>>>
>>> On Sun, Dec 13, 2009 at 12:47 PM, mccormicky <mccormicky at gmail.com>
>>> wrote:
>>> >  If you hit the return key or insert a <br/> in html mode then switch
>>> > to
>>> > visual (rich text) and save, they get wiped out.
>>> > But if you make line breaks with <br/> in html mode or hit the return
>>> > key
>>> -
>>> > and hit save it gets saved.
>>> > - it might be a browser issue though. Not sure. I always use the html
>>> mode
>>> > so I am not often bothered by it.
>>> > It isn't a new behavior of 2.8.6 -  I have had complaints about the
>>> editor
>>> > from clients for years.
>>> > Loss of formatting goes goes hand in hand with rich text editing & I
>>> > tell
>>> > them to use the html mode but they don't often listen..
>>> >
>>> >
>>> > On Sun, Dec 13, 2009 at 3:27 AM, Davit Barbakadze <jayarjo at gmail.com>
>>> wrote:
>>> >
>>> >> I'm running 2.8.6. Plugins I got are:
>>> >>
>>> >> All in One SEO Pack
>>> >> Ozh' Admin Drop Down Menu
>>> >> qTranslate
>>> >>
>>> >> But I've used them before without such problems. At least I haven't
>>> >> noticed them.
>>> >>
>>> >> So it is not a proper behavior? Is it switchable? On/Off somewhere?
>>> >>
>>> >>
>>> >> On Sun, Dec 13, 2009 at 6:14 AM, Chris Jean <gaarai at gaarai.com> wrote:
>>> >> > Which version are you running? Do you have any plugins installed and
>>> >> > activated?
>>> >> >
>>> >> > Chris Jean
>>> >> > http://gaarai.com/
>>> >> > @chrisjean
>>> >> >
>>> >> >
>>> >> > On 12/12/2009 12:39 PM, Davit Barbakadze wrote:
>>> >> >>
>>> >> >> For some reason freshly installed blog doesn't convert newlines
>>> >> >> entered in posts rich text editor into paragraphs, as it usually
>>> does.
>>> >> >> It just outputs text on one long line, without any breaks. Text
>>> >> >> formatting works only if forcefully styled or aligned. Is it how it
>>> >> >> should be? Never noticed such behavior in WordPress.
>>> >> >>
>>> >> >>
>>> >> >
>>> >> > _______________________________________________
>>> >> > wp-hackers mailing list
>>> >> > wp-hackers at lists.automattic.com
>>> >> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Davit Barbakadze
>>> >> _______________________________________________
>>> >> wp-hackers mailing list
>>> >> wp-hackers at lists.automattic.com
>>> >> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>> >>
>>> > _______________________________________________
>>> > wp-hackers mailing list
>>> > wp-hackers at lists.automattic.com
>>> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>>> >
>>>
>>>
>>>
>>> --
>>> Davit Barbakadze
>>> _______________________________________________
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>>
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Davit Barbakadze


More information about the wp-hackers mailing list