I may be wrong but I don’t think it’s possible to pull Discourse objects into the Onebox gem without requiring them as a dependency in some way. And even then, I’m not sure it’s a wise move. I think of Onebox as a separate entity that doesn’t require Discourse.
joebuhlig
(Joe Buhlig)
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to access discourse username from an iframe? | 0 | 496 | November 13, 2020 | |
| Triggering account creation/login on external service when a user logs in on discourse | 11 | 462 | December 6, 2024 | |
| OneBox for embedded comment post | 0 | 597 | September 8, 2022 | |
| Onebox looks horrible on Discourse Comments (below WP Post) | 18 | 2511 | June 27, 2018 | |
| Custom Onebox engine | 6 | 2339 | December 21, 2016 |