Print Page | Close Window

extra line break

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=25190
Printed Date: 29 March 2026 at 12:41pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: extra line break
Posted By: grfxmaster
Subject: extra line break
Date Posted: 21 January 2008 at 2:56pm
I have a problem with RTE. It seems to want to add an extra line break at the end of text entered in a textarea field. How can I prevent this?



Replies:
Posted By: WebWiz-Bruce
Date Posted: 21 January 2008 at 2:57pm
It all depends on which browser you use. IE is more likely to do this because of the way it's RTE API works.

For cleaner HTML you should look at using Firefox, and it will more likly clear up the issue of leaving a line at the end.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: grfxmaster
Date Posted: 21 January 2008 at 3:04pm
I am actually using Firefox. Is there a way to prevent the extra line break from occurring in the first place, or a way to strip it out?


Posted By: WebWiz-Bruce
Date Posted: 21 January 2008 at 3:43pm
I've never seen this in Firefox myself and normally have to physically hit enter a few times to leave a line break at the end.

The RTE is supplied as a blank canvas that you apply to your own textarea, so how you strip out anything that you don't want would rely on your own code.




-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net