1 Reply Latest reply on Jul 29, 2014 3:00 AM by nilsheuer

    How to post a document with styles via rest api?

    damonfan

      A document format:

      {

        "content":

         {

         "type": "text/html",

         "text": "<body><p>Some interesting text</p></body>"

         },

        "subject": "New Document",

        "type": "document"

        }

      Jive can edit fontsize, color,how to modify the text to add these styles?

        • Re: How to post a document with styles via rest api?

          Pretty standard stuff. Take a look at a Jive document and switch the editor to html formatting:

           

          <body><p>This document has <strong>formatting, <em>really</em></strong></p>

          <p><strong><em></em></strong></p>

          <p><span style="font-family: 'comic sans ms', sans-serif; font-size: 14pt;"><strong><em>and different fonts</em></strong></span></p>

          <h2>Titles</h2>