• Resolved christinacatwoo

    (@christinacatwoo)


    I already roll back for my backup so I didn’t have the update link to provide.

    I am using version 3.2.7, seems it is a safe version for my site. After I updated to 3.2.9, I found 2 problems so far. As one of the problem affect many pages of my site, I need to roll back.

    First, the “Table of Contents” block, the bullet point part, it used to let me use html to bold the words in the content , after updating the plugin, it shows < b >my words< /b > and didn’t bold the words, seems all html edit within the bullet point has been change into simple text. I try to look into the setting part, I can’t find a way to bold some words on that bullet point. Not sure it is a bug or just they don’t allow us to edit the character styles now.

    Then after checking more pages, I found the content in expanded area are all changed into align to center. Many of my posts are using the Expand box, all has the same problem. For this reason I have to roll back to the old version.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Farhan Shafi

    (@farhanshafi)

    We applied stricter security measures to prevent potential XSS (Cross-Site Scripting) vulnerabilities. Previously, the Table of Contents block allowed raw HTML inside bullet points, but this posed a security risk. To address this, we now escape HTML tags, converting them into plain text instead of rendering them as formatting.

    You can apply they following CSS in our custom css panel

    .ub_table-of-contents-container li{ 
    font-weight: 700;
    }

    We are actively working on the Expand block. If this turns out to be an issue, we will work on fixing it in a future release.

    Thread Starter christinacatwoo

    (@christinacatwoo)

    @farhanshafi Thanks for the reply. I can’t use this CSS as my list is like this:

    • Headline 1
      • point under headline 1
      • point under headline 1
    • Headline 2
      • point under headline 2
      • point under headline 2

    Is there a function for bold the list like that? Can I still use Table of Contents block? or should I just replace the whole box with html instead is better?

    Plugin Contributor Farhan Shafi

    (@farhanshafi)

    @christinacatwoo Could you show me how do you use the css I provided.

    There is a Custom CSS panel of our plugin you can paste this CSS inside it.

    Thread Starter christinacatwoo

    (@christinacatwoo)

    @farhanshafi I put it on the page css style. As “ub_table-of-contents-container” this class is for the whole list, after I apply it, the list becomes like this:

    • Headline 1
      • point under headline 1
      • point under headline 1
    • Headline 2
      • point under headline 2
      • point under headline 2

    I only want the “Headline 1” and “Headline 2” bold, others are normal weight. I didn’t see there are individual class for each li. Once I add the code you provide, the whole list changed into bold.

    Thread Starter christinacatwoo

    (@christinacatwoo)

    @farhanshafi Any news for the Expand block? I checked on the code, it seems if I align the “Expand” link in center, all the words in the expanded section has been added text-align =center also. They added alignment to the class ub-expand-full so all the text aligned to center.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘plugin version 3.2.9 problem that affect the layout’ is closed to new replies.