Ticket #4521 (closed defect: fixed)

Opened 1 year ago

Last modified 8 months ago

TinyMCE WYSIWYG editor strips out line breaks in WebKit / Safari3

Reported by: mayel Assigned to: anonymous
Priority: highest omg bbq Milestone: 2.5
Component: TinyMCE Version: 2.2.3
Severity: blocker Keywords: editor
Cc: connor@maskedmedia.com

Description

When typing a post in WordPress 2.2.1 with visual editor activated, line breaks appear in the editor, but are stripped out when saving the post or switching to "Code View".

This doesn't occur when setting WebKit?'s UA to Mozilla.

Bug cross posted to http://bugs.webkit.org/show_bug.cgi?id=14350

Change History

08/09/07 19:17:45 changed by foolswisdom

  • severity changed from critical to major.
  • milestone changed from 2.2.2 to 2.3 (trunk).

09/06/07 21:52:57 changed by Nazgul

  • component changed from Administration to TinyMCE.

09/12/07 17:50:43 changed by ryan

  • milestone changed from 2.3 to 2.4 (next).

10/24/07 07:57:23 changed by researcher

if anyone has infuence to bring this bug back in to the front, please do. the bug does not allow the author to use blanc lines in his writings, which should be the writers own choice. the effect is chown in Firefox on the Mac as well.

12/20/07 00:42:56 changed by bentrem

*first contribution; don't hit me hard*

From my reading for http://snipurl.com/1vkfp this is no.way high priority. Apparently folk have been (empowering and indulging) patiently putting up with this for a while.

The workaround is always to hit Save while in (what passes for) CodeView?.

"Line break issues" (34 posts) was started 9 months ago.

"WP 2.1 - Posting Problem" (36 posts) was started 10 months ago.

"High" priority? "Major" severity"?<br /> Impact = minimal<br /> Frustration - niggling

12/20/07 04:02:09 changed by lloydbudd

bentrem, thanks for your research. Although the symptom is the same, this issue is more severe and specific to Safari. Its priority was lower because at the time Safari 3 hadn't been released.

12/30/07 16:24:55 changed by meetnet21

01/02/08 20:15:28 changed by lloydbudd

Duplicated report #5566.

01/11/08 18:52:55 changed by zanshin

  • cc set to code.prole@gmail.com.
  • version changed from 2.2.1 to 2.2.2.
  • severity changed from major to critical.

@bentrem: This is hardly niggling. You cannot create postings using Safari 3 as the Visual Editor strips out line breaks. Hitting "Save" does not work.

@meetnet21: Editing tinyMCE.js and commenting out the lines specified in the thread may work, but it is not an acceptable solution.

I'm using Safari 3.0.4 (523.12.2) and WP 2.3.1 and I cannot create new entries. I'm forced to use Camino or Firefox.

01/18/08 23:48:07 changed by lloydbudd

  • severity changed from critical to blocker.

01/18/08 23:49:18 changed by lloydbudd

Looks like Webkit devel think this is a bug in TinyMCE: 1765800 WordPress: Editor strips paragraph breaks. I consider this a blocker for WP 2.5.

01/25/08 05:12:20 changed by thee17

  • status changed from new to closed.
  • resolution set to fixed.

Duplicate of 2285, fixed in TinyMCE3.0

01/25/08 13:27:23 changed by zanshin

When will TinyMCE 3.0 be included in Wordpress?

01/25/08 17:25:04 changed by lloydbudd

  • status changed from closed to reopened.
  • resolution deleted.

thee17, thank you for the awesome job going through and clean up so many of the stale tickets, but please stay diligent. This isn't the same issue as #2285 though I can see how on the surface they appear similar. Nor was #2285 fixed in TinyMCE3.0 . Given that the TinyMCE bug is still open and no comment suggesting it is fixed. I'm reopening this severe bug.

01/29/08 20:22:35 changed by jeferonix

  • priority changed from high to highest omg bbq.
  • milestone changed from 2.5 to 2.3.3.

lloydbudd - you are right on point here. Many people have mistaken this bug for another... where if you want to add extra space between paragraphs, "dummy" <p>&nbsp;</p> or <p> or <br /> tags are stripped. That is a minor annoyance but not the subject of this bug.

All my clients are tearing out their hair and running around with their heads cut off because of the actual bug here, which you are right to label as "severity:blocker".

If you open any post in safari 3, it removes ALL new lines, whether from <p> tags or <br /> tags. Basically it condenses the entire post body into a single paragraph. This is as you can imagine extremely frustrating and completely unacceptable for that portion of the population that writes in paragraphs. It occurs (i believe) at the moment you save, AND at the moment you switch from rich text to code view.

Some of my users are reporting this issue in Firefox also, and I've seen similar comments on various blogs... however it's hard to say if they are referring to the same issue, and not the similar but less urgent one I describe at the top of this comment. I wasn't able to reproduce the main bug in Firefox.

lloydbudd or anyone else... I'm seeing this on 2.3.2, and if it's a TinyMCE issue, it looks to me like no WP developer is dealing with it. Can we do a hack of some sort or even disable TinyMCE for Safari 3? Many users are upgrading to Safari 3 now that Leopard is out, and this really is a showstopper for them.

Forgive me but i'm upping this to "highes omg bbq" and Milestone 2.3.3 - please revert back if that's inappropriate but people are literally screaming at me about this. I just don't want anyone to think this is a minor or resolved issue.

01/29/08 20:26:40 changed by jeferonix

Oh, i see that there is not much movement behind 2.3.3; if this is better assigned to 2.5 then so be it, but 2 months is probably too long to wait. I haven't contributed to WordPress before but if we can work out an acceptable server-side solution to this (I'm willing to dig around for one) I'd be happy to spearhead this. Otherwise I'll probably hack it on my install, but there are a lot of other unhappy WP installations out there I'd like to help fix.

01/29/08 21:33:52 changed by lloydbudd

  • milestone changed from 2.3.3 to 2.5.

thanks jeferonix, we generally set the milestone to trunk, and vent a patch there, before considering a solution for existing releases.

01/31/08 18:16:35 changed by lloydbudd

With [6694] this should now be resolved on trunk. Please give it a try.

02/16/08 04:04:30 changed by sacredpath

Just to note that the problem with paragraph breaks being stripped out is also showing up in Firefox (mac and PC) and in IE7. There are several threads in the wordpress.com forum about it, and I've experienced it on my 2.3.2 and 2.3.3 self-hosted installs. Right now I'm using an offline blog editor to get around the issue.

(follow-up: ↓ 21 ) 02/23/08 18:16:26 changed by Dr. Watz0n

  • cc changed from code.prole@gmail.com to connor@maskedmedia.com.

I am running a 2.5 Beta 1, 2.3.2, and 2.3.3 self hosted installs of Wordpress right now. I have tried to duplicate this issue in Firefox 3 Beta 2, Beta 3, Firefox 2.0.x, IE 7, and Safari 3 and 3.1 Beta with no avail. I do not see this issue in any versions of the three browsers, or any of the 3 versions of Wordpress.

(in reply to: ↑ 20 ; follow-up: ↓ 22 ) 02/25/08 18:59:14 changed by genesteinberg

Replying to Dr. Watz0n:

I am running a 2.5 Beta 1, 2.3.2, and 2.3.3 self hosted installs of Wordpress right now. I have tried to duplicate this issue in Firefox 3 Beta 2, Beta 3, Firefox 2.0.x, IE 7, and Safari 3 and 3.1 Beta with no avail. I do not see this issue in any versions of the three browsers, or any of the 3 versions of Wordpress.

I have not used any of the 2.5 betas, but as of the very latest versions of Safari, in WP 2.3.3 in two installations on my site (macnightowl.com), this bug persists. Is it TinyMCE that's still at fault?

Peace, Gene

(in reply to: ↑ 21 ) 02/25/08 19:34:44 changed by lloydbudd

  • version changed from 2.2.2 to 2.2.3.

Replying to genesteinberg:

in WP 2.3.3 in two installations on my site (macnightowl.com), this bug persists. Is it TinyMCE that's still at fault?

Contrary to Dr. Watz0n's report there are numerous sources that have confirmed this issue still present in 2.3.3 in Safari.

The reports of similar issues in Firefox and IE are much less common, and so it isn't clear under what circumstances, if any common ones at all, those browsers experience the issue -- also as decribed above this issue in those browsers have been confused with other issues.

It is a complex issue, and if you read through the ticket you find that no one has had the time / expertise to isolate the problem.

02/25/08 19:35:09 changed by lloydbudd

  • status changed from reopened to closed.
  • resolution set to fixed.

Closing as fixed.