Ulrich_Laegeler at arburg.com wrote:
>
> we use xmlmind for more form orientated use-case.
> My users have now problems with the dot behaviour
> which jumps over the borders of elements when they
> move the dot via the cursor keys or via del keys.
I'm not sure to understand the problem.
When you move the caret and the caret goes inside an element which is
represented by a form control or an SVG image (that is, by CSS replaced
content), there is no way to display the caret normally. In such case,
the hidden caret is represented by a small, red, blinking triangle,
displayed at the top/left corner of the CSS replaced content.
We currently don't see what else we can do. Remember that XXE is
designed to allow editing a mix of normal text and form controls. That
is, XXE is not a pure form editor ? la XForms.
See XXE_install_dir/demo/form-sampler.xml
See XXE_install_dir/demo/bugreport.xml
If you play with those demos (please take the time to do that; use
Tab/Shift-Tab to navigate between text and form controls; use Esc to
cancel the modifications made to a form control; etc), you'll not find
real usability problems. The user will get accustomed with the behavior
described above once she/he'll understand it.
One critical thing to do in the CSS is to allow a red border to be drawn
around the form controls having the focus.
Excerpt of XXE_install_dir/demo/form-sampler/
---
...
dateTime32,
dateTime42,
dateTime33,
dateTime43 {
display: inline-block;
font-size: smaller;
padding: 1px; /*Needed to display the red border of the selection*/
}
---
> Can you suggest me a solution how can i restrict the dot
> to the borders of one element?
>
As usual, if it is not documented then you cannot do it.