Skip to main content
Participant
October 15, 2024
Question

Tags Automatically Change their Place

  • October 15, 2024
  • 1 reply
  • 156 views

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 has been closed for replies.

    1 reply

    Jeff_Coatsworth
    Community Expert
    Community Expert
    October 15, 2024

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

    Participant
    October 15, 2024

    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>

    Jeff_Coatsworth
    Community Expert
    Community Expert
    October 15, 2024

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