Skip to main content
Known Participant
June 11, 2021
Question

Applying Condition Tags to bulleted contents

  • June 11, 2021
  • 3 replies
  • 160 views

Hi everyone,

 

I'm just looking at applying a Condition Tag to a bullet point - but get an issue where the point remains despite the tag being applied to the text (as below).

 

Is there a way to apply a Condition tag to the bullet point as well?

 

 

 

    This topic has been closed for replies.

    3 replies

    Community Expert
    June 15, 2021

    I use the tag breadcrumbs at the top of the topic. I click inside the list item I want to condition, then right-click on the appropriate "li" in the tag breadcrumbs and select Apply condition tag.

    Inspiring
    June 14, 2021

    As Peter mentioned, you'll need to select the whole paragraph when you want to apply the condition to it. You can change it afterward also by taking it from this:

    <li><span data-condition="Audience:internal_users">Lorem ipsum dolor sit amet consectetur adipisicing elit. At vitae iste maxime vel hic expedita repellendus ab labore nulla excepturi magni ducimus et harum, aperiam id maiores!</span></li>

    To this:

    <li data-condition="Audience:internal_users">Lorem ipsum dolor sit amet consectetur adipisicing elit. At vitae iste maxime vel hic expedita repellendus ab labore nulla excepturi magni ducimus et harum, aperiam id maiores!</li>

    (I manually moved the data-condition="Audience:internal_users" to the HTML tag rather than surrounding the content of the HTML tag with a span that applies the condition. Be sure to remove the ending </span>.)

     

    Hope this helps!

    Peter Grainge
    Community Expert
    Community Expert
    June 11, 2021

    If you select the whole paragraph, it should exclude the bullet as well. Check in HTML View for Classic projects and Source View for the new UI.

    ________________________________________________________
    See www.grainge.org for free Authoring and RoboHelp Information

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.