Skip to main content
Participant
Oct 15, 2024 12:36 PM UTC
Question

Tags Automatically Change their Place

I am trying to add a snippet in a dropdown text (in a table) so that when I click the dropdown text, it shows the snippet's text (another table) in the next row. I am able to do so by adding the dropdown div to the next row. Problem is that this remains intact unless I am in the Preview mode. As soon as I change the mode, the div tag automatically moves back to the previous row.

    This topic is closed to new replies. Start a new post to keep the conversation going.

    5 replies

    Jeff_Coatsworth
    Community Expert
    Community Expert
    Oct 15, 2024 1:47 PM UTC

    What version of RH? Can you show what you are talking about here? I'm not visualizing it very well...

    Translate
    Participant
    Oct 15, 2024 2:14 PM UTC

    I am using RH 2022.4.179. Here's the HTML of my table:
    <tbody>
    <tr>
    <td><a class="dropspot" data-rhwidget="DropSpot" data-target="drop-down" href="#">Snippet Text</a></td>
    </tr>
    <tr>
    <td colspan="4"><div class="droptext" data-targetname="drop-down">
    <p><span data-conref="assets/snippets/Created.hts"> </span>
     </p>
    </div></td>
    </tr>
    </tbody>

    Translate
    Jeff_Coatsworth
    Community Expert
    Community Expert
    Oct 15, 2024 2:22 PM UTC

    This in the output HTML or the topic? Are you trying to add this code in the Source view of the topic? 

    Translate