Filtering list container elements in Insert Content Referenc

sbodoff
Posts: 20
Joined: Tue Jun 14, 2011 10:42 pm

Filtering list container elements in Insert Content Referenc

Post by sbodoff » Thu Feb 12, 2015 11:19 pm

Is it possible to extend the list of target types in the Insert Content Reference dialog? I would like to be able to filter on list container types: <ol> and <ul> as well as <li>.

Thanks,
Stephanie

Radu
Posts: 6539
Joined: Fri Jul 09, 2004 5:18 pm

Re: Filtering list container elements in Insert Content Refe

Post by Radu » Fri Feb 13, 2015 9:30 am

Hi Stephanie,

We do not have API to help you with customizing the list of filters but:

1) There is already an entry in the filters list called "List item" which should present only <li>s
2) We can add a new entry in the filters list called "List" to present both ordered and unordered list.

Probably we can implement (2) before Oxygen 17 is released (April-May this year).

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

sbodoff
Posts: 20
Joined: Tue Jun 14, 2011 10:42 pm

Re: Filtering list container elements in Insert Content Refe

Post by sbodoff » Fri Feb 13, 2015 9:33 pm

Yes, I was aware of the list item option, but that's not helpful if I want to reuse an entire list. Option 2 sounds perfect. Thanks.

Radu
Posts: 6539
Joined: Fri Jul 09, 2004 5:18 pm

Re: Filtering list container elements in Insert Content Refe

Post by Radu » Tue May 19, 2015 10:42 am

Hi Stephanie,

Oxygen 17 was released a couple of weeks ago and it should contain the proposed changes.

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

Post Reply