Announcement

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

#1 2005-04-08 04:59:27

adamp
Xinha Pro
Registered: 2005-03-14
Posts: 77

Getting out of elements

Not the most descriptive title, but it's hard to sum up in a simple title tongue

Basically, I've noticed a problem with having a block element such as a div as the last code in your editor, that you can't get outside that div by pressing down/right with the cursor keys.

e.g. your textarea contains

He said: <div class="quote">Newcastle are the best team in the world</div>

When writing in the Xinha editor, you can't get outside that div to write more text after it. I've tried adding <p> </p> after it, thinking the space might provide something for the cursor to jump to, but with no luck.

I have a feeling this has been discussed before, if not here then back at the htmlarea forums, but can't remember if there was a solution. Anyone know of a fix?

Offline

#2 2005-04-08 05:20:05

adamp
Xinha Pro
Registered: 2005-03-14
Posts: 77

Re: Getting out of elements

Found that adding a <br /> after the element does the job, but still not ideal.

Offline

#3 2005-04-08 14:43:45

willeffects
Xinha Authority
Registered: 2005-03-19
Posts: 130

Re: Getting out of elements

Adam,

I did the same thing and havent really found any problems with it as most of the time the user wants to get out only when adding something else.

Will

Offline

#4 2005-04-11 21:57:35

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

Re: Getting out of elements

See line 2248 in htmlarea.js (rev 64).  Try re-enabling that code and see how it goes for you.


James Sleeman

Offline

#5 2005-05-08 02:56:27

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

Re: Getting out of elements

adam, did this work any better for you?


James Sleeman

Offline

Board footer

Powered by FluxBB