Knowledge Base Article

Formatting Text Widget In Sisense

Use the following script on the widget script of the Text Widget to change the font family and color: 
You can use the options provided with the widget to change the size of the font. 
widget.on("ready", function() {
      $("div[id=editor-3]").css("font-family", "fantasy")
      $("div[id=editor-3]").css("color", "red")
})
Updated 03-02-2023
No CommentsBe the first to comment