Embedding HTML Content in a Question Group

You can use a Content Block question to incorporate HTML content—including dynamic Content Delivery elements—directly into a question group. The question acts as a container for a chunk of text or markup, which it displays in-line with the rest of the group's content any time that group is rendered.

Implementation:

  1. Switch to the Definition tab.
  2. Add a Content Block-type question to a question group.
  3. Use the Question Text field to enter the content you want to appear. When the question group loads, the model will convert the content block into a HTML div. Plain text will appear as-is, while all HTML markup will be rendered as normal by your browser and KnowledgeKube-specific Element Tags will generate the corresponding data or functionality.

Not all types of element are compatible with content blocks. You can learn more about elements by referring to Appendix: Stand-alone Element Types and Appendix: Wrap-around Element Types.

  1. (Optional) Quickly insert compatible element tags at the position of your cursor by clicking the Configure button at the bottom of the question's Properties panel. This will open the Content Delivery Asset Picker dialog.
  2. (Optional) Select the relevant category's tab, then click the name of the element you want to insert. This will close the picker and return you to the main KnowledgeKube window, where you'll be able to view the updated markup.
  3. Click Save Question.