Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-03-24 15:02:08

speterson
Xinha Community Member
Registered: 2005-03-17
Posts: 12

How to insert a <br/> tag

My users want to be able to insert a carriage return in the wysiwyg editor (getting the effect as if a <BR/> was inserted.)  Right now, when return is pressed, a new paragraph is started.  I can go into textmode and tye in a <br/> and it renders correctly in wysisyg but my users are not ready to roll up their sleeves like that.  Is there currently a way to insert a <br/> tag?

Offline

#2 2005-03-24 15:12:59

riftdesign
Xinha Pro
From: South Dakota, USA
Registered: 2005-03-22
Posts: 55
Website

Re: How to insert a <br/> tag

speterson wrote:

My users want to be able to insert a carriage return in the wysiwyg editor (getting the effect as if a <BR/> was inserted.)  Right now, when return is pressed, a new paragraph is started.  I can go into textmode and tye in a <br/> and it renders correctly in wysisyg but my users are not ready to roll up their sleeves like that.  Is there currently a way to insert a <br/> tag?

The tried and try method in most applications, including Xinha, is a Shift-Enter.


rift design studio
[url]http://www.riftdesign.com[/url]

Offline

#3 2005-03-24 18:30:17

Yermo
Xinha Authority
From: College Park, Md, USA
Registered: 2005-02-13
Posts: 143
Website

Re: How to insert a <br/> tag

speterson wrote:

My users want to be able to insert a carriage return in the wysiwyg editor (getting the effect as if a <BR/> was inserted.)  Right now, when return is pressed, a new paragraph is started.  I can go into textmode and tye in a <br/> and it renders correctly in wysisyg but my users are not ready to roll up their sleeves like that.  Is there currently a way to insert a <br/> tag?

See the long discussion on the topic at

http://xinha.gogo.co.nz/punbb/viewtopic.php?id=58

You can turn on the "old" style <BR> support by setting

this.mozParaHandler = 'built-in'

in htmlarea.js.

There is however an exception bug right now that breaks it from time to time. (last I checked).

Once I have a chance I'm going to go through Enterparagraphs and add the design suggested by gogo on setting style sheets to <p> tags to produce the single Enter produces newline effect. (Unless someone beats me to it.) That's really the most correct way of doing it.

It'll most likely be a couple of weeks before I have a chance to get to it.


-----------------------------------------------------------------------------------------
Content Management with Business Intelligence      [url]http://www.formvista.com[/url]

Offline

Board footer

Powered by FluxBB