Obojobo

Obojobo

  • Authors
  • Developers
  • GitHub

› Developers Section Topics

Getting Started

  • OboNode Structure
  • Text Content Conventions
  • Triggers and Actions

Misc Dev Topics

  • Obojobo Glossary
  • Question Selection Algorithm
  • Range Strings

Events Reference

  • Caliper Event Reference
  • Obojobo Event Reference

OboNode & Content Block Reference

  • ActionButton
  • Assessment
  • Assessment > rubric
  • Assessment > rubric > mod
  • Assessment > scoreAction
  • Break
  • Code
  • Content
  • Figure
  • Heading
  • HTML
  • IFrame
  • List
  • List > listStyle
  • List > listStyle > indent
  • Materia
  • MathEquation
  • MCAssessment
  • MCAssessment > MCChoice
  • MCAssessment > MCChoice > MCAnswer
  • MCAssessment > MCChoice > MCFeedback
  • Module
  • NumericAssessment
  • NumericAssessment > NumericChoice
  • NumericAssessment > NumericChoice > NumericAnswer
  • NumericAssessment > NumericChoice > NumericFeedback
  • Page
  • Question
  • QuestionBank
  • Table
  • Table > gridTextGroup
  • Text
  • textGroup
  • textGroup > textItem
  • textGroup > textItem > styleableText
  • textGroup > textItem > styleableText > styleList
  • trigger
  • trigger > action
  • YouTube

textGroup > textItem

Class: Content Block

A series of one or more lines of text with optional styling and additional data defined.

Learn more about using text in Text Content Conventions

Properties

Property Required Type Description
text Required styleableText Text and associated styles displayed in this single item.
data no Object An object containing one or more properties. Currently only indent is understood. If specified this sets the indentation level of the text item if the chunk type supports indentation ("indent": 1 inserts one tab before the text item, "indent": 2 inserts two tabs and so on).

Required Children

None

Variables Registered

None

Example

JSON

{
	"text": {
		"value": "Hello World"
	},
	"data": {
		"indent": 1
	}
}

OboXML

<t indent="1">Hello World</t>
  • Properties
  • Required Children
  • Variables Registered
  • Example
    • JSON
    • OboXML
Visit Obojobo on GitHub
Obojobo
Obojobo™ ©2021 University of Central Florida