Page 1 of 1

Inconsistent tabbing behavior

Posted: Tue Aug 21, 2012 9:43 pm
by ghudson
We have a custom schema with with several document types based on parent elements in the schema. In Author mode, we require the default tabbing behavior, which is to have the cursor move to the beginning of the next element. In some sections of a document it works correctly, but in many sections the tab creates 4 spaces, which is not what we want.

Shift+Tab always works correctly.

Any ideas what is causing the tabbing to act this way? We have not overridden the default tab action.

Thanks!

Re: Inconsistent tabbing behavior

Posted: Wed Aug 22, 2012 8:56 am
by Radu
Hi,

Those elements in which the tab inserts the spaces are probably elements which have been declared as space-preserve either in the XML or in the associated schema or in the CSS used to render the XML in the Author page.

The idea when being in a space preserve element and pressing TAB would be that the element is maybe used to store a fragment of code and the user wants to style that content by inserting additional tabs or spaces.

But this makes the behavior inconsistent and this is not the first complaint so we'll try to rectify the behavior in a future version.
I'll update the forum thread when this happens.

Regards,
Radu