HELP FILE

How to put content in quotation within an article?

  1. Go to Knowledge > All articles, and create a new article, or choose to edit an existing one.
  2. Mark the content you wish to place in quotation and click on the quotation button.
  3. Navigate to Touchpoints > Widgets.
  4. Click Personalize under the floating widget, or embedded widget.
  5. Go to the "Advanced" tab and select Actionable block quotes in answer text.
  6. On the page the widget is implemented, it is possible to add JavaScript to the widget that performs an action when a user click on the contact inside the quotation marks.

Please refer to the script below:

<script>
      // Create IE + others compatible event handlervareventMethod = window.addEventListener ? "addEventListener" : "attachEvent";
          var eventer = window[eventMethod];
          var messageEvent = eventMethod == "attachEvent" ? "onmessage" : "message";
          // Listen to message from child window
          eventer(messageEvent, function (e)
          {
              if (e.data &amp;&amp; e.data.indexOf('subject=event') != -1 &amp;&amp; e.data.indexOf('type=quote') != -1)
              {
                  var args = e.data.split("&amp;");
                  var dictionary = {};
                  for (var i = 0; i < args.length; i++)
                  {
                      if (args[i].split("=").length > 1)
                          dictionary[args[i].split("=")[0]] = args[i].split("=")[1];
                  }
                  dictionary["query"] = ISQ.Tools.Base64.decodeString(dictionary["query"]);
                  dictionary["text"] = ISQ.Tools.Base64.decodeString(dictionary["text"]);
                  //console.log(dictionary);
              }
          }, false);
      </script>