Announcement

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

#1 2010-05-20 09:25:22

tommi
Xinha Community Member
Registered: 2010-05-20
Posts: 10

How to avoid carriage return plus linefeed

Whenever i start a new paragraph (using Windows/Firefox) xinha uses a <p>-tag.
Is it possible to tell xinha to use <br>-tags instead? The reason is this behaviour takes a lot of vertical space and users are not used to that because textareas behave apparently different (i know textarea does not use html).

thanks again for any answer

Offline

#2 2010-05-20 20:46:49

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: How to avoid carriage return plus linefeed

SHIFT-Enter produces <br/>


James Sleeman

Offline

#3 2010-05-21 04:37:36

tommi
Xinha Community Member
Registered: 2010-05-20
Posts: 10

Re: How to avoid carriage return plus linefeed

Thank you but that doesn't ctach the problem.
I know how to produce a <br> tag, but the users of my application probably don't. So what i was looking for is how to configure xinha to use <br> instaed of <p>

Offline

#4 2010-05-21 08:18:42

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: How to avoid carriage return plus linefeed

That's not possible as fr as I recall, it has been discussed many times here, please use the search function.

You should resolve your issue with CSS.


James Sleeman

Offline

#5 2010-06-01 10:01:21

tommi
Xinha Community Member
Registered: 2010-05-20
Posts: 10

Re: How to avoid carriage return plus linefeed

I found a solution for what i wanted:
I just added
xinha_editors.myeditor.config.pageStyle = 'p { margin:0; };';
to config.js

Offline

Board footer

Powered by FluxBB