Bug: Triple-click and overtype in <title> fails on <fig> and

Are you missing a feature? Request its implementation here.
DanTemple
Posts: 26
Joined: Tue Oct 28, 2014 1:19 pm

Bug: Triple-click and overtype in <title> fails on <fig> and

Post by DanTemple »

OxygenXML 16.1.

If you triple click text in say a <p> or a <li> in the Editor, and then overtype, the element stays as a <p> or <li> and the text gets replaced, as you'd expect.

But:

If you do this on a <title> for a figure, the <title> gets replaced by a <p>.

If you do this for a <title> for a table, it fails and says "Text is not allowed in element <table>".

Hope this can be fixed.
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Bug: Triple-click and overtype in <title> fails on <fig>

Post by Radu »

Hi Dan,

I understand and we'll work to make this work more intuitively.

Basically triple clicking selects an entire XML element (with tags and content) so typing over it will first remove that entire element then the text would be inserted directly in the content. We have some strategies which as you mentioned in some cases create new paragraphs but this behavior can definitely be improved.

I'll update this forum thread when we make an improvement for this as well.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Bug: Triple-click and overtype in <title> fails on <fig>

Post by Radu »

Hi,

Just to update this thread, in Oxygen 17 you can triple click a paragraph or a title and type directly in order to insert text inside it instead of the old non-intuitive behavior or removing the element.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply