HTML support for GraphQL API
Hi Khoros,
I've been roadmapping usage for the GraphQL API that allows for the creation of a Knowledge Base Article: https://developer.khoros.com/khorosauroradevdocs/docs/create-a-knowledge-base-article#create-a-knowledge-base-article
When it comes to populating the GraphQL, I noticed some fields that we can use to populate an article, like "subject", "body", "introduction". However, when it comes to creating a Knowledge Base Article, I'm curious if there is support for some things I can do with the GraphQL API that we can already do with the UI version of creating a Knowledge Base Article. For example, in the UI, I can open the Source Code field in the editor of the article (please see attached screenshot). What this allows me to do is to essentially author the article in HTML, rather than in plaintext.
So, as seen in the screenshot, I can set the Source Code for the new Knowledge Base Article. My question is this: with the GraphQL API, can I submit the body content as straight HTML just like I can in the UI > SourceCode?
If the answer is no, my question we then be, is there a way we can set the HTML of a new Knowledge Base Article using the GraphQL API in any way (Source Code or otherwise)?
Thanks,
Edson