[wp-testers] when switching to visual editor from HTML editor,
all layout is discarded
Alexander van Loon
svloon at xs4all.nl
Tue Mar 25 22:07:28 GMT 2008
Glad to hear that you have been able to verify my findings. The
installation was completely fresh, in a completely new directory, not
overwriting an existing installation.
I should have considered the WPG2 plugin as the source of the problems
earlier, because if I remember correctly the strange behavior started
after I used WPG2 to place links to my photos in my Gallery2
installation in my post.
Now that you have disabled and re-enabled WPG2 the problem is gone, but
if I'd try to add some photos in my Gallery2 to the post again with
WPG2, maybe I could reproduce the bug again.
So the conclusion is that I probably have to downgrade to WP 2.3 to be
able to use WPG2 correctly. Unless the WP developers want to investigate
this further, I'm going to downgrade to 2.3 soon.
On Tue, 2008-03-25 at 10:25 +1100, DD32 wrote:
> I just had a look at it, and your right, It was indeed loosing all formatting when switching between.
>
> Test
>
> <strong>Test</strong>
>
> Test
>
> becomes
> TestTestTest.
>
>
> Incredibly weird.
> I deactivated "WPG2 3.0.2" as i dont think its 2.5 Compliant, And it suddenly started working correctly
> The test post you gave works fine, my tests work fine.. everything works fine.
>
> So i reactivated WPG2, Everything still works fine, nothing seems to go wrong still. Incredibly weird.
>
> I have a feeling that TinyMCE was using a older cache file, not sure why, but it may've been, What this a fresh install? Or had you previously had something else installed in its place?
>
> I tested using Opera9.5 on Windows XP, There were absolutely NO javascript errors before, or after the plugin deactivation..
>
> On Tue, 25 Mar 2008 08:29:51 +1100, Alexander van Loon <svloon at xs4all.nl> wrote:
>
> > I've just tried Firefox 2.0.0.12 on Linux again with the Error Console,
> > but the Error Console reports nothing and the bug still shows up. The
> > fact that you can't reproduce it on your WP 2.5 weblog either leads me
> > to think that the bug HAS to be caused by my particular WP 2.5
> > installation.
> >
> > I'll send the username and password for my weblog to you and DD32, could
> > you both please try to reproduce the bug on my WP 2.5 installation? I'd
> > really appreciate it, this bug is driving me mad and I'm considering to
> > downgrade to WP 2.3 which doesn't have the problem.
> >
> > On Mon, 2008-03-24 at 11:39 -0800, Andrew Ozz wrote:
> >> Hi,
> >>
> >> Looking at your backup html page - it is not actually html, rather it is
> >> formatted the same way WordPress stores content in the db: with <p> tags
> >> replaced by 2 line breaks "\n\n".
> >>
> >> It has to be run through wpautop before displaying or before it can be
> >> edited with the visual editor. This is done every time you switch from
> >> HTML mode to Visual mode in the editor by a Javascript version of wpautop.
> >>
> >> However if there is a js error somewhere on the page prior to running
> >> the content through the js wpautop, Javascript will stop execution and
> >> the content will be inserted in TinyMCE (Visual mode) without the <p>
> >> tags, so all the paragraphs will disappear.
> >>
> >> Can you try using Firefox with the error console open and set to show
> >> errors only while writing, pasting, switching between Visual and HTML
> >> modes, so you can notice any js errors as they happen.
> >>
> >> Also, try using one of the stable versions of the supported browsers:
> >> Firefox, Safari, Opera or IE when using the visual editor. Other
> >> browsers using Gecko would probably work, but each one has small quirks
> >> here and there that may show up at any time.
> >>
> >> I've tried pasting the content of your backup page in FF2, FF3_b4,
> >> Safari 3.1 and Opera 9.2 (Windows) and wasn't able to reproduce this error.
> >
> > _______________________________________________
> > wp-testers mailing list
> > wp-testers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-testers
> >
>
>
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
More information about the wp-testers
mailing list