system
December 11, 2025, 3:02pm
1
This is a sample blog post to test the new Discourse full app embed mode.
Unlike the traditional embed which shows a simplified view, the full app mode
renders the complete Discourse Ember application inside the iframe.
This is a companion discussion topic for the original entry at https://discourse-full-embed.pages.dev/embed-test
8 Likes
Falco
December 11, 2025, 3:50pm
2
Wow can I create a comment from the iframe?
IT WORKS!
7 Likes
will need some polish (dark mode is a bit funky), but in general…
pretty pretty pretty good…
2 Likes
manuel
December 11, 2025, 11:56pm
6
Holy smokes can we style this!?
2 Likes
Falco
December 12, 2025, 1:50pm
7
It already does a pretty basic try at that, would love some help here to make it shine!
See:
main ← full-embeds
opened 01:30AM - 11 Dec 25 UTC
## Summary
Adds a new `fullApp` option to the embed snippet that renders the … complete Discourse Ember application in the iframe instead of the simplified Rails-templated view. This allows embedded comments to have the full Discourse experience including likes, reactions, and inline replies.
When `fullApp: true` is set:
- `/embed/comments` redirects to the topic URL with `?embed_mode=true`
- Header, sidebar, and footer are hidden
- All links open in new tabs (to avoid navigating away within the iframe)
- Iframe is scrollable with configurable height (default 600px)
## Demo
https://discourse-full-embed.pages.dev/embed-test
## Usage
```js
DiscourseEmbed = {
discourseUrl: 'https://forum.example.com/',
discourseEmbedUrl: 'EMBED_URL',
fullApp: true,
// embedHeight: '800px', // optional, defaults to 600px
};
```
## Security
The `embed_mode` parameter only removes the X-Frame-Options header if:
- `embed_any_origin` site setting is enabled, OR
- The request referer matches a configured embeddable host
This matches the existing security model for `/embed/comments`.
4 Likes