Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - extra line break
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum Lockedextra line break

 Post Reply Post Reply
Author
grfxmaster View Drop Down
Newbie
Newbie


Joined: 21 January 2008
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote grfxmaster Quote  Post ReplyReply Direct Link To This Post Topic: extra line break
    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?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
grfxmaster View Drop Down
Newbie
Newbie


Joined: 21 January 2008
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote grfxmaster Quote  Post ReplyReply Direct Link To This Post 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?

Edited by grfxmaster - 21 January 2008 at 3:14pm
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.


Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.