Content block

Overview

Use this widget to display instructions and explanatory text for the entire form or for a particular part of the form.

After you have added the Content block form widget in your form and opened its settings, the text editor appears.

Enter content

Create the desired content. You can use the formatting options of the text editor. You can type and format text, insert images, documents, and symbols, and paste already formatted text and tables from Microsoft Word.

For more information, see Work with the New content editor.

Edit content inline

PREREQUISITES: This feature is available as of Sitefinity CMS product update 15.4.8640.

You can edit the content of the Content block form widget directly in the form, without opening the widget editing window. To do this, perform the following:

  1. Double-click the Content block widget.
  2. Enter your content.
  3. To format the content, on a new line, type /.
    A menu with formatting options opens. To narrow down the options, continue typing. You can also use shortcuts, for example, type /url to insert a link or /pic to insert an image.
  4. To save your changes, click outside the widget.

The formatting menu contains the following options:

  • Format - Heading 1 to Heading 4, Paragraph, and Quote.
  • Lists - Unordered list and Ordered list.
  • Insert - Link, Image, Document, and Embed.
  • Edit in... - Full screen opens the widget editing window with the full text editor. HTML code opens the HTML code of the content.

Advanced widget settings

To open the advanced settings, in the upper-right corner of the Content block widget page, click DotNetCore11 (Advanced settings).

  1. In CSS class input field, you can choose a class name for the content block, if later you want to set a CSS style for this particular content.
  2. You can change the tag that the text in this content clock will be wrapped in the HTML of the form.
    The default value is <div>.
  3. Save your changes.
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.