Add Text or a Text section with the Rich Content Editor

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 4 minutes to read
  • Use the Rich Content Editor canvas to add Text or a Text section in your content.

    Before you begin

    Role required: sn_cd.content_manager

    Create the page layout using modules or columns.

    About this task

    • Text provides the tools to format and arrange text.
    • Text section provides the tools to format and arrange text and an area to add a headline.
      Note:
      For Text section, the headline, text, and container settings are configured separately.

    Procedure

    1. Navigate to the canvas by selecting the Open editor button from the Design tab of the New content form.
    2. From the Blocks column, use a drag-and-drop method to move a Text or Text section block to your canvas.
    3. Enter text or text and a headline depending on what component you dropped into the column.
    4. Navigate to Settings tab.
    5. Use any of the following styling settings:
      Table 1. Content styling settings
      Settings field Description
      Styling
      Text style Allows you to quickly change the look of your text by selecting a pre-formatted choice. You can select different headlines or paragraph styles.

      Headline 1-6 corresponds to h1 - h6 HTML tags.

      Selecting a text style pulls from your portal theme text settings in order to sync with it. For more information, see Portal configuration.

      Text color Use this drop-down to change the color of your text.

      Selecting a text color pulls from your portal theme text settings in order to sync with it. The values are defined as part of the portal theme. Your company can customize the portal theme to have different colors. For more information, see Portal configuration.

      Your choices are:
      • Primary: The primary color defined by your portal theme.
      • Muted: The color defined by your portal theme.
      • White: Changes the color of your text to white. This is useful when using a background color other than white.

      Text color assigns predefined CSS classes for text color.

      Display Configure the appearance of multiple components within the same column, such as an image and a text component. Select from the following options:
      • Top and bottom (default): Image appears above the other component.
      • Side by side: Image appears with the other component next to it.
      Note:
      For best results, set the same display for the components. For example, if you have an image and text components in a column and want the image to appear on the left and the text to appear at the right, change the Display settings for both components to Side by side.
      Text alignment Determines the horizontal alignment of your text. Choose from:
      • Left justify
      • Center justify
      • Right justify
      • Justify (text is aligned with both margins)
      Advanced styling
      Padding Sets the spacing between the text and the border of the text container in pixels or as a percentage of the total text container.

      Specify the padding for the top, right, bottom, and left sides.

      Font name Defines the font face used to render characters.

      Click the drop-down arrow to select a different font.

      Font size Sets the size of the font.
      Font weight Determines how bold or light your text appears.

      Click the drop-down arrow to select a different weight.

      Line height Sets the vertical distance between two lines of text.
      Font color Overrides the font color from your portal theme.

      To select a color, enter the hex code or click the color picker (grey square to the right of the font color) and select a color from the color palette.

      Properties
      ID A unique ID that identifies the HTML element.
      Title Text that appears when a user hovers over the component.
    6. Select Save or Save and Finish.
      Selecting Save saves your content and you remain on the Rich Content Editor canvas. Selecting Save and Finish saves your record and returns you to the New content form.

    What to do next

    • Preview your content from the New content form.
      Note:
      Content Preview is designed to provide a general idea of how your content looks. Content may look different once published due to variations in device resolution, theme difference, or mobile app style configuration.
    • (Optional) Translate your content.

      Select a different language to view your session or request a language translation for the content you are creating. For more information, see Language support for Content Experiences and Content Publishing.

      Use the Language settings drop-down menu to select a different language to view your session in or request a language translation for the content you are creating.
      • Switch language: This allows you to switch your system settings language to a different language. This is similar to changing your language at login. For more information, see Switch language for Content Publishing.
      • Translate content: When you activate the sn_cd.enable_localization_framework_integration system property, created content from the Content Library displays the Translate content selection from the Language settings drop-down. This allows you to request translation for the content to the language you selected. For more information, see Integration with Localization Framework.
        Note:
        Only translate content after you are done modifying the content. For best results, we do not recommend that you add or remove components or change the formatting after translation.

        To create rich content that is formatted differently in different languages, duplicate the content and modify the formatting as needed. Then, use Audiences to target the content to users by language. See Audiences

    • Configure a publish plan to control where the content is delivered, the audience, and the period of time it is available: Create a publish plan for your content.