0

I was wondering if it is possible to post rtf text to description via rest api. The formatting of the text should stay the same.

Sample rtf:

{\rtf1\deff0 \stshfdbch2\stshfloch1\stshfhich1\stshfbi1{\fonttbl{\f0 Calibri;}{\f1 Tahoma;}{\fdbminor\f2 Times New Roman;}}{\colortbl ;\red0\green0\blue255 ;}{\*\defchp \fcs1\f1\fcs1\f1\hich\af1\loch\af1\dbch\af2\cgrid1\fs20}{\*\defpap \widctlpar}{\stylesheet {\ql\fcs1\f1\fcs1\f1\hich\af1\loch\af1\dbch\af2\fs20 Normal;}{\*\cs1\fcs1\f1\fcs1\f1\hich\af1\loch\af1\dbch\af2\fs20 Default Paragraph Font;}{\*\cs2\sbasedon1\fcs1\f1\fcs1\f1\hich\af1\loch\af1\dbch\af2\fs20 Line Number;}{\*\cs3\fcs1\f1\fcs1\f1\hich\af1\loch\af1\dbch\af2\fs20\ul\cf1 Hyperlink;}{\*\ts4\tsrowd\fcs1\f1\fcs1\f1\hich\af1\loch\af1\dbch\af2\fs20\ql\tscellpaddfl3\tscellpaddl108\tscellpaddfb3\tscellpaddfr3\tscellpaddr108\tscellpaddft3\tsvertalt\cltxlrtb Normal Table;}{\*\ts5\tsrowd\sbasedon4\fcs1\f1\fcs1\f1\hich\af1\loch\af1\dbch\af2\fs20\ql\trbrdrt\brdrs\brdrw10\trbrdrl\brdrs\brdrw10\trbrdrb\brdrs\brdrw10\trbrdrr\brdrs\brdrw10\trbrdrh\brdrs\brdrw10\trbrdrv\brdrs\brdrw10\tscellpaddfl3\tscellpaddl108\tscellpaddfr3\tscellpaddr108\tsvertalt\cltxlrtb Table Simple 1;}}{\*\listoverridetable}{\info{\creatim\yr2022\mo11\dy10\hr12\min57}{\version1}}\nouicompat\htmautsp\splytwnine\alntblind\expshrtn\spltpgpar\nogrowautofit\utinl\nobrkwrptbl\ftnlytwnine\notcvasp\dntblnsbdb\newtblstyruls\formshade\sectd\endnhere\pard\plain\ql\widctlpar{\fcs1\af1\alang1031\ltrch\fcs0\hich\af1\dbch\af2\loch\f1\fs20\lang1031\langfe1031\langnp1031\langfenp1031\cf0 Hello}\fcs1\af1\alang1031\ltrch\fcs0\hich\af1\dbch\af2\loch\f1\fs20\lang1031\langfe1031\langnp1031\langfenp1031\par\pard\plain\ql\widctlpar{\fcs1\af1\alang1031\ltrch\fcs0\hich\af1\dbch\af2\loch\f1\fs20\lang1031\langfe1031\langnp1031\langfenp1031\b\cf0 TEST}\fcs1\af1\ltrch\fcs0\hich\af1\dbch\af2\loch\f1\fs20\b\par}

Thanks in advance!

Wayx

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.