Ticket #1470 (closed Bug: worksforme)

Opened 13 months ago

Last modified 8 months ago

A <br> is inserted when saving or hittng ENTER in summary field

Reported by: tomthehand Owned by:
Priority: Normal Milestone:
Component: Project : MediaWiki+FCKeditor Version: SVN
Keywords: WorksForMe Cc:

Description

If I make edits to a page using MediaWiki+FCKeditor, then type up an edit summary, then hit Enter to commit instead of clicking "Save page" with my mouse, it commits but also inserts a carriage return near where I was working on the article. It should do one or the other: either it should not commit when you hit enter, or it should commit without also inserting carriage returns.

Attachments

fiddler_post.png (224.7 KB) - added by moisadoru 8 months ago.
capture of the actual data sent by POST after hitting ENTER in summary field
IE.png (138.4 KB) - added by moisadoru 8 months ago.
the summary text appers to be alright (no <br>'s) in the history diff view

Change History

Changed 13 months ago by tomthehand

In the above report, I note that MediaWiki+FCKeditor inserts a carriage return when you save a page by hitting enter in the edit summary field. It's actually not related to hitting enter; it happens when you click the "save page" button as well.

MediaWiki+FCKeditor inserts an extra, unwanted carriage return wherever your cursor was, every time you save a page, unless your cursor was at the end of the page. It happens whether clicking the "Save page" button or hit enter in the edit summary field.

Changed 10 months ago by w.olchawa

  • keywords Confirmed IE added
  • version set to SVN
  • summary changed from In MediaWiki+FCKeditor, using Enter key to save a page inserts a carriage return to A <br> in inserted when saving or hittng ENTER in summary field

Confirmed on IE and IE7. Works fine in FF2.

Changed 10 months ago by w.olchawa

  • summary changed from A <br> in inserted when saving or hittng ENTER in summary field to A <br> is inserted when saving or hittng ENTER in summary field

Changed 8 months ago by moisadoru

capture of the actual data sent by POST after hitting ENTER in summary field

Changed 8 months ago by moisadoru

the summary text appers to be alright (no <br>'s) in the history diff view

Changed 8 months ago by moisadoru

Cannot reproduce this, maybe it was fixed with other commits. I attached two screenshots ( http://dev.fckeditor.net/attachment/ticket/1470/fiddler_post.png and http://dev.fckeditor.net/attachment/ticket/1470/IE.png). As you can see there is are no <br> tags that are inserted.

I'm using IE version 6.0.2900.2180.xpsp_sp2_rtm.040803-2158, Mediawiki svn rev.32912 and FCKEditor svn rev.1850

Changed 8 months ago by tomthehand

My original summary of the issue was a little iffy. Please read my first response, where I try to clarify. The <br>'s were not being inserted in the edit summary. They were being inserted in the article itself, wherever I had left my cursor, unless my cursor was at the end of the article.

Changed 8 months ago by w.olchawa

  • keywords WorksForMe added; Confirmed IE removed
  • status changed from new to closed
  • resolution set to worksforme

It seems to work in my test as well so I'm closing this ticket.

Note: See TracTickets for help on using tickets.