Text editors

Important 

In Collibra 2024.05, we launched a new user interface (UI) for Collibra Data Intelligence Platform! You can learn more about this latest UI in the UI overview.

Use the following options to see the documentation in the latest UI or in the previous, classic UI:

Text editor types

Text editors in Collibra Data Intelligence Platform allow you to enter, format, and edit text. The following text editors are available.

Text editor Location of use
Standard text editor
  • Dashboard Text widget (also includes an HTML Editor)
  • Community and domain pages (also includes an HTML Editor)
  • Comments
  • Ratings
Mini text editor
  • Text attributes in asset pages (also includes an HTML Editor)
  • Task sidebar (also includes an HTML Editor)
  • Table text fields

Plain text editor

  • Some text fields
  • Standard text editor
  • Mini text editor
  • Table text editor
  • Plain text editor

Standard text editor

The standard text editor is a rich text formatting editor.
You use this editor on text widgets and asset pages to edit text attributes such as Definition and Note.

Example 

Comment in asset pages

For advanced formatting, you can use:

  • The formatting toolbar options.
  • The Source Code.
    Click the Source Code icon and enter HTML code.
    When you click the icon, you can see the underlying HTML markup that is used to render the text. You can edit the markup directly to adjust the way the text will render. To achieve the desired effect, follow the basic HTML authoring rules and use supported tags only. Note that our new rich text editor library may utilize or render HTML code differently than in previous versions.
  • The HTML Editor.
    Click HTML Editor and enter HTML code. The HTML Editor allows for even more advanced HTML editing, and gives you the option to preview the output.
    Tip 
    • The HTML editor is available in only some Standard text editors.
    • The HTML Editor supports most HTML elements.
      However, this can potentially allow an attacker to run an XSS attack by injecting malicious HTML. That's why, when you save, the following HTML elements are removed for security reasons:
      • frame
      • frameset
      • iframe
      • svg
      • Any event handlers

      Text attributes are always protected, but you can also enable it for Dashboard Text widgets.

    • You can maximize the HTML Editor. In the full screen view, you can see a preview of your code.

Note 
  • Copying and pasting from Microsoft Office or other sources may not retain all formatting.
  • You can't upload an image via a URL path. You can drag an image to the text editor or upload the image from your computer.
    You can resize your image by selecting the image and dragging the corners of the image to the desired size.

For advanced formatting, use the formatting toolbar options, or click and enter HTML code.

Warning 

The text editor source code supports most styling HTML elements and table (< t >) structures. This means an attacker could potentially run an XSS attack by injecting malicious HTML. That's why, when you save, the following HTML elements are removed for security reasons:

  • script, including JavaScript
  • svg
  • frame
  • frameset
  • iframe
  • Any event handlers

Text attributes are always protected, but you can also enable it for text widgets.

Mini text editor

You use the mini text editor typically for comments, ratings, and so on. The toolbar offers basic formatting options. The toolbar in the mini text editor offers a more basic set of formatting options than the standard text editor.

For advanced formatting, you can use:

  • The formatting toolbar options.
  • The Source Code.
    Click the Source Code icon and enter HTML code.
    When you click the icon, you can see the underlying HTML markup that is used to render the text. You can edit the markup directly to adjust the way the text will render. To achieve the desired effect, follow the basic HTML authoring rules and use supported tags only. Note that our new rich text editor library may utilize or render HTML code differently than in previous versions.
  • The HTML Editor.
    Click HTML Editor and enter HTML code. The HTML Editor allows for even more advanced HTML editing, and gives you the option to preview the output.
    Tip 
    • The HTML editor is available in only some Standard text editors.
    • The HTML Editor supports most HTML elements.
      However, this can potentially allow an attacker to run an XSS attack by injecting malicious HTML. That's why, when you save, the following HTML elements are removed for security reasons:
      • frame
      • frameset
      • iframe
      • svg
      • Any event handlers
    • You can maximize the HTML Editor. In the full screen view, you can see a preview of your code.

Note 
  • Copying and pasting from Microsoft Office or other sources may not retain all formatting.
  • You can't upload an image via a URL path. You can drag an image to the text editor or upload the image from your computer.
    You can resize your image by selecting the image and dragging the corners of the image to the desired size.
Warning 

The standard text editor supports most styling HTML elements and table (< t >) structures. This means an attacker could potentially run an XSS attack by injecting malicious HTML. That's why, when you save, the following HTML elements are removed for security reasons:

  • script, including JavaScript
  • svg
  • frame
  • frameset
  • iframe
  • Any event handlers

Text attributes are always protected, but you can also enable it for text widgets.

Example 

Text attribute in an asset page

Text in tables

Text in a task

Table text editor

The table text editor allows you to edit and format text in asset tables. The toolbar contains all the editing options of the mini text editor toolbar, plus a clear formatting option.

Plain text editor

The plain text editor allows you to enter text without formatting.

Use of text editors

The following table identifies where the various text editors and field are used.

Editor Location of use
Standard text editor
  • Dashboard Text widget
  • Community, domain and asset pages
Mini text editor
  • Comments
  • Ratings
Table text editor
  • Table text fields

Plain text editor

  • Add characteristic option of an asset