How to honor formatting when syncing Confluence to Zendesk

3 Comments

  • Ifra Saqlain
    Community Moderator

    Hey Daria :)

    On your style-sheet, the classes are appearing in red color - make sure you close all brackets or any extra bracket or extra dot or comma because classes should be in black color but on your stylesheet ( shared screenshot) classes are red.

    Thank You

    Team

    1
  • Darla George

    thank you. fixed code. But expanders in confluence are still not expanders in zendesk still. Are you familiar with syncing confluence pages to zendesk? Is this something we can contract you to help with? Or can you advise here?

    0
  • Ifra Saqlain
    Community Moderator

    Hi Daria,

    Please pay attention on the note : they said add JS snippet right before ' }) '  so move the JS expanded code inside the ' });'  this  bracket. After doing that your code will look like this:

    $('.expand-control').click(function (){
    $(this).find().parent('expand-content').toggleClass('expanded');
    $(this).find('expand-control-icon').toggleClass('expanded');
    });

    });

    // this closed bracket is main function's bracket and it starts at the top of all script code with this function ' $(document).ready(function () { ......});

    // You added the expand code out side of this function

     

    I hope it will resolve your issue  if not let me know :)

     

    Team

     

     

    1

Please sign in to leave a comment.

Powered by Zendesk