Home Forums DITA and XMetaL Discussion How do I modify which elements are inserted when pressing Enter in DITA Tasks? Reply To: How do I modify which elements are inserted when pressing Enter in DITA Tasks?

Su-Laine Yeo

Reply to: How do I modify which elements are inserted when pressing Enter in DITA Tasks?

The CTM changes that Tom described above change the behavior for elements inserted through the Element List or the Insert menu. They don't change the behavior for elements inserted when you press the Enter key.

It is possible to change the CTM in order to have the element not appear in elements that are inserted with the Enter key. I've tried this and don't recommend doing it though. As I recall, when you press the Enter key, the insertion point will go into a place that's not optimal, (i.e. not the next element) and pressing Enter again is also not optimal. We need to overhaul the whole area of Enter key behavior in elements in a future release.

Reply

Products
Downloads
Support