Text formatted in HTML
Note
The task interface configuration guide describes the features of the HTML/JS/CSS editor. You can also try creating a task interface in Template Builder.
To upload a task with formatted text (HTML tags and styles):
-
Add a field of
string
type into the input data description. For example:{ "html": { "type": "string", "required": true } }
-
In the task interface put the name of the input data field in triple curly brackets. For example:
{{{html}}}
.
Before uploading a task, make sure that all quotation marks in the formatted text are escaped.