Opened 16 years ago

Closed 16 years ago

#1723 closed Bug (duplicate)

Hitting enter at starting of Line doesn't works

Reported by: Mayank Parmar Owned by:
Priority: Normal Milestone: FCKeditor 2.6
Component: General Version: FCKeditor 2.5.1
Keywords: Confirmed IE Cc:

Description (last modified by Martin Kou)

I just copy and paste the following at http://www.fckeditor.net/demo in source

<p><span style="font-size: large"><span><span style="font-family: Times New Roman"><span><b>&ldquo;To be well-informed is to have the world at your fingers.&rdquo;</b></span></span></span></span></p>
<p><span style="font-size: medium"><span style="font-family: Times New Roman"><span><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &mdash;Joseph Jones&nbsp;</b></span></span></span></p>
<p><span style="font-family: Times New Roman">Dear&nbsp;{u_lname},</span></p>
<p><span style="font-family: Times New Roman">Did you know that 2007 was actually the fifth highest year for home sales in history? Take a closer look at the numbers and you will discover that the state of the real estate market may not be everything the media leads you to believe. Sometimes we all need a little historical perspective to see the big picture clearly.&nbsp;&nbsp;</span></p>
<p><span style="font-family: Times New Roman">Fortunately, I did all of the research and analysis for you already. This month&rsquo;s Item of Value includes a variety of interesting and informative statistics that illustrate why last year was a good year overall for home sales. With mortgage rates historically low and new, innovative mortgage programs being unveiled, there is even greater promise for home sales in 2008.&nbsp;&nbsp;</span></p>
<p><span style="font-family: Times New Roman">On the backside, you will find a noteworthy study on the rising trend of vacation home sales. Nearly one-third of vacation homes are being purchased with the intent of becoming a full-time residence upon the buyer&rsquo;s retirement. With today&rsquo;s mortgage rates, renting options and family gathering advantages, buying a vacation home is a great option to consider.&nbsp;With so much to take into account&shy;&shy;&shy; when you buy or sell a home, I am always available to help you sort out what is best for you.&nbsp;&nbsp;</span></p>
<p><span style="font-family: Times New Roman">Sincerely,&nbsp;&nbsp;</span>&nbsp;</p>
<p>&nbsp;<img alt="" src="http://www.relationshiplist.biz/UserImages/45/rl.jpg" /></p>
<p><i><b><span style="font-family: Times New Roman">Oh, by the way&reg;&hellip;if you know of someone who would appreciate the level of service I provide, please call me with their name and business number, and I&rsquo;ll be happy to follow up and take great care of them.</span></b></i>&nbsp;&nbsp;</p>
<div>&nbsp;</div>
<p>&nbsp;</p>

Set mouse cursor before "Dear" and hit enter. You will see new lines are not coming. But when you go to Source you can see code for new lines and when return to design window. You will see those blank lines.

Change History (9)

comment:1 Changed 16 years ago by Martin Kou

Description: modified (diff)

Tidied up the description a bit.

comment:2 Changed 16 years ago by Martin Kou

Keywords: Confirmed IE added; Hit enter removed

Confirmed in IE, ok in Firefox.

comment:3 Changed 16 years ago by Martin Kou

Resolution: duplicate
Status: newclosed

This is a dup of #1522. I've already written a patch for this bug, but the patch is awaiting review.

comment:4 in reply to:  3 Changed 16 years ago by Mayank Parmar

Resolution: duplicate
Status: closedreopened

Replying to martinkou:

This is a dup of #1522. I've already written a patch for this bug, but the patch is awaiting review.

I have tried to implement this patch in my local copy but it doesn't work for my code that I am pasting in source.

comment:5 Changed 16 years ago by Martin Kou

I've tested the patch "1522_2.patch" from #1522 and it fixed the issue on my side. Can you try it confirm whether it works for you too?

You may need to clear your browser cache if it doesn't.

comment:6 in reply to:  5 Changed 16 years ago by Mayank Parmar

Replying to martinkou:

I've tested the patch "1522_2.patch" from #1522 and it fixed the issue on my side. Can you try it confirm whether it works for you too?

You may need to clear your browser cache if it doesn't.

Thanks for the reply.

I have already tested and written at http://dev.fckeditor.net/ticket/1522#comment:15

It doesn't work for the code that I am pasting. If you have found it working can you give me any link where I can test? Becasue I implemented 1522_2.patch in my local and it didn't work.

Please just copy this code and paste in source and hit enter before "Dear". It is not working.

comment:7 Changed 16 years ago by Martin Kou

The patch is not applied by pasting the JavaScript code into Source mode, it should be applied by a software that supports patching via the Unified Diff Format (e.g. TortoiseSVN), and the patch should be applied to the SVN trunk source code.

comment:8 in reply to:  7 Changed 16 years ago by Mayank Parmar

Replying to martinkou:

The patch is not applied by pasting the JavaScript code into Source mode, it should be applied by a software that supports patching via the Unified Diff Format (e.g. TortoiseSVN), and the patch should be applied to the SVN trunk source code.

Well it works with SVN but just post here when this patch is integrated in any new version.

comment:9 Changed 16 years ago by Martin Kou

Resolution: duplicate
Status: reopenedclosed

ok then this is a dup of #1522.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy