Content Editor
What can the Content Editor do?
In the Content Editor, authors can compile pages and forms in several layout grids. Various content elements such as text, images, videos, etc. can be inserted into a selectable grid.
The aim is to enable an adaptive design so that the content is also displayed appropriately on mobile devices.

Note
Another editor in OpenOlat is, for example, the HTML editor "Tiny MC", which is used in the course element HTML page, for example.
Where is the Content Editor used?
The content editor is used in the Course element page, in the Learning resource “Form” and in the “Portfolio 2.0”.
Course element page
The Content Editor is activated in the "Page" course block either in the Course Editor under the "Page Content" tab, or—when the Course Editor is closed—by enabling edit mode directly on the desired "Page" course block.
When the course editor is closed:

The slide switch can be used to turn the processing mode on and off.
In the course editor:

In the course editor, you can configure whether, in addition to course owners, instructors are also allowed to use the course module's content editor and make changes when the course editor is closed.

The media content of the Course Element "Page" (images, audio, video, diagrams, quotes, documents, etc.) is stored in the Media Center, not in the course’s storage folder (see Course Element "HTML Page"). For more information, see the explanations for the respective course element types.
Different rules apply to the portfolio and the form-based learning resource.
Learning resource form
The content editor is also used in the learning resource form and all elements that use the learning resource form.
The displayed options for inserting content are adapted to the form, e.g. different question types are available here.

E-portfolio
This also applies to entries in portfolio folders, which can be used both independently of a course and in conjunction with portfolio templates and portfolio tasks, the Content Editor is used.

Layout in the content editor
Before you can insert content in the Content Editor, you must first "add a new layout". The layout serves as a grid that determines the arrangement of the content (blocks).
There are various layouts to choose from, which differ in the way the fields are arranged. You can also combine several layouts on one page.
If necessary, the layout can be changed later at any time. To do this, simply click on the gear icon (Edit settings) of the layout and select a new layout.

If several layouts are available in a form, you can change the order of the layouts. Use the arrows to move an entire layout.

Organizing Content in the Layout
Content Blocks
Content blocks with various specific types of content can be added to each section of a layout. The number of content blocks varies depending on the selected design. For example, a three-column design has 3 content blocks.
Adding, Positioning, and Configuring Content in a Block
Use "Add Content" to add specific content and media to a block.
As soon as you click or select a piece of added content, a pop-up window appears where you can configure the properties of that content. This is called the "Inspector".
You can also show or hide the Inspector pop-up using the gear icon next to the content.

Menus
In addition to the gear icon, there is also a three-dot menu and a crosshair. The crosshair allows you to add additional content elements before or after the selected item, or to delete the selected item. You can also use the crosshair to drag and drop the selected item to a different position, a different content block, or a different layout.

General Formatting for All Content Blocks - The Inspector
Distances
Consistent spacing between the layout fields (content blocks) is important for creating an appealing layout. You can choose from various spacing options:
- no distance
- S (small)
- M (medium)
- L (large)
- XL (extra large)
- custom



Block style "Note"
Starting with Release 18.2.3, layouts and some content blocks can be displayed as formatted info boxes. When a predefined info type is selected, the information is clearly highlighted by applying the corresponding color scheme to the box—along with a matching icon, if applicable. A set of additional colors and icons is also available for customizing the box’s appearance. If desired, a box can also be made collapsible.

Example:

Content types
Please note that not all elements are available in every content editor.
Text elements
Title
Various font sizes are predefined for the heading element.

Paragraph
In contrast to a text section, a paragraph also contains note boxes and columns.

Text section
A simple text editor is available in a text section for creating text blocks.

Table

Mathematic formula
A special small editor is available for mathematical formulas.

Code
The 'Code' block enables text to be displayed in a font with fixed spacing and numbering of the lines. This is particularly helpful for technical learning content such as programming examples. The programming language used can be selected when creating the code block. Participants can copy the code template directly to the clipboard for further processing.

This text element does not exist in the Form Editor.
Quote
If a text is entered as a quote, it automatically has a predefined formatting. The quotes are saved as reusable objects in the Media Center, just like audio or videos.
This text element does not exist in the Form Editor.
Media
Info
Instead of the "Media" section and its associated content elements, the Form Editor includes the "Question Types" and "Organizational" sections with their corresponding content elements.
Image
All images available in the Media Center can be integrated. New images can be uploaded and are then stored in the Media Center.
Gallery
Several images can be scrolled through in a gallery element (slideshow), displayed in a grid (columns and rows definable by author) or displayed with preview (1 image large, the remaining images as reduced preview images). The appearance of the gallery can be varied in the inspector. The images come from the Media Center.

Image comparison
Two superimposed images can be cross-faded using a slider.

Audio
Audio can be recorded directly in OpenOlat, uploaded or selected from existing audio.

Video
Videos can also be integrated via URL in the 'Video' block. The video formats MP4 and m3u8 as well as the platforms Youtube, Vimeo, Panopto and nanoo.tv are supported. It is also possible to record new videos directly in OpenOlat.
Document
Here, you can upload documents in various formats (e.g., PDF or Word files) using drag-and-drop, select them from the Media Center, or create them directly in specific formats. The media files are automatically saved in the Media Center.
You can also access the Media Center via the Inspector menu to add additional information to documents and define further sharing options. This allows a file that was initially intended for a single content block to be used for other purposes or edited by other OpenOlat users.
In addition, the "Share" section allows you to share newly created or uploaded documents directly.

draw.io diagram
Existing diagrams can be loaded from the Media Center or new diagrams can be created directly with draw.io. If you edit the file as an individual, the editing takes place on the OpenOlat server, in collaboration mode on an external server.

Knowledge
Info
This section is available only in the Content Editor of the Course Building Block page.
Quiz
This content element allows you to embed quiz questions that can be automatically graded into a page. You can create new questions or add existing ones from the question bank. You can also add feedback to each question, including images and videos, which enhances the learning experience.
These short quiz questions are intended to encourage engagement with the course content, but they do not award points. For graded quizzes, please use the "Test" or "Self-Test" course modules.

Importing Markdown Files
Info
Markdown is a widely used text format that is output by many tools and AI applications. It allows for the seamless import and reuse of existing content without the need for additional formatting. At the same time, it supports a clear structure and facilitates the ongoing development of learning content.
Starting with version 20.3, Markdown files can be imported directly into the Content Editor, allowing content from external tools or plain text files to be imported without manual reformatting. The content is automatically converted into the structured page format, providing an efficient foundation for populating course pages with content more quickly and easily. The content is automatically converted into the Content Editor’s functional blocks, such as Title, Table, Info Box, etc.
Images are imported directly into the Media Center, and a duplicate check ensures that the same image isn't stored multiple times in the Media Center. This saves space and keeps things organized automatically, without the author having to worry about it.
To import, click the button at the bottom of the content editor. You can either import an entire file or paste Markdown-formatted text into an input field.

Importing Word Files
Just like Markdown files, Word files (version 20.3 and later) can also be imported.

Note
Not all Word features can be imported into the Content Editor. The conversion of images may not be fully compatible. Please review the imported content carefully.
Others & Design
Separator
A separator is a line (visual design element) used to separate content.
HTML Code
The HTML text code editor is available exclusively in the "Page" course element editor. It performs similar functions to the "Text" content element but offers additional menus and options.
Media Center
In the Content Editor for the "Page" and "Portfolio" course blocks, there is a separate button that leads to the Media Center. Essentially, this provides an additional way to access the files, regardless of the type of media.
Click the link to access the files in your Media Center. Here, you can select, create, or upload files.

Further information
Course element page >
Learning resource form >
Portfolio >
Media Center (Personal tools)>
Detailed information about the Media Center (Basic concept) >