Skip to content

IFrame

There is an indended way to use IFrames and there is a hacky way.

Intended

IFrames are currently only meant for displaying files which are stored in Open WebUI. There are two ways to display them:

  1. { { HTML_FILE_ID_your-file-id-here } } - leave out the spaces, needed to add to display properly
  2. <iframe src="/api/v1/files/your-file-id/content" title="File Content" width="100%" frameborder="0"></iframe>

Hacky

Html and other code will be rendered if it is specified as a code block. Here's an example:

text
```html
<iframe src="https://docs.ai-agents.ch/" width="100%" height="1000" title="External Content"></iframe>
```